class PlatformAPI::InvoiceAddress

An invoice address represents the address that should be listed on an invoice.

Public Class Methods

new(client) click to toggle source
# File lib/platform-api/client.rb, line 2030
def initialize(client)
  @client = client
end

Public Instance Methods

info() click to toggle source

Retrieve existing invoice address.

# File lib/platform-api/client.rb, line 2035
def info()
  @client.invoice_address.info()
end
update(body = {}) click to toggle source

Update invoice address for an account.

@param body: the object to pass as the request payload

# File lib/platform-api/client.rb, line 2042
def update(body = {})
  @client.invoice_address.update(body)
end