Class: PlatformAPI::InvoiceAddress

Inherits:
Object
  • Object
show all
Defined in:
lib/platform-api/client.rb

Overview

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

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ InvoiceAddress

Returns a new instance of InvoiceAddress.



2994
2995
2996
# File 'lib/platform-api/client.rb', line 2994

def initialize(client)
  @client = client
end

Instance Method Details

#infoObject

Retrieve existing invoice address.



3001
3002
3003
# File 'lib/platform-api/client.rb', line 3001

def info()
  @client.invoice_address.info()
end

#update(body = {}) ⇒ Object



3013
3014
3015
# File 'lib/platform-api/client.rb', line 3013

def update(body = {})
  @client.invoice_address.update(body)
end