Class: PlatformAPI::InvoiceAddress
- Inherits:
-
Object
- Object
- PlatformAPI::InvoiceAddress
- 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
-
#info ⇒ Object
Retrieve existing invoice address.
-
#initialize(client) ⇒ InvoiceAddress
constructor
A new instance of InvoiceAddress.
-
#update(body = {}) ⇒ Object
Update invoice address for an account.
Constructor Details
#initialize(client) ⇒ InvoiceAddress
Returns a new instance of InvoiceAddress.
1614 1615 1616 |
# File 'lib/platform-api/client.rb', line 1614 def initialize(client) @client = client end |
Instance Method Details
#info ⇒ Object
Retrieve existing invoice address.
1619 1620 1621 |
# File 'lib/platform-api/client.rb', line 1619 def info() @client.invoice_address.info() end |
#update(body = {}) ⇒ Object
Update invoice address for an account.
1626 1627 1628 |
# File 'lib/platform-api/client.rb', line 1626 def update(body = {}) @client.invoice_address.update(body) end |