Class: Increase::Models::CardPurchaseSupplement

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/increase/models/card_purchase_supplement.rb

Defined Under Namespace

Classes: Invoice, LineItem

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#[], #inspect, #to_h, #to_s

Instance Attribute Details

#card_payment_idString

The ID of the Card Payment this transaction belongs to.

Returns:

  • (String)


14
# File 'lib/increase/models/card_purchase_supplement.rb', line 14

required :card_payment_id, String

#idString

The Card Purchase Supplement identifier.

Returns:

  • (String)


9
# File 'lib/increase/models/card_purchase_supplement.rb', line 9

required :id, String

#invoiceIncrease::Models::CardPurchaseSupplement::Invoice

Invoice-level information about the payment.



19
# File 'lib/increase/models/card_purchase_supplement.rb', line 19

required :invoice, -> { Increase::Models::CardPurchaseSupplement::Invoice }

#line_itemsArray<Increase::Models::CardPurchaseSupplement::LineItem>

Line item information, such as individual products purchased.



24
# File 'lib/increase/models/card_purchase_supplement.rb', line 24

required :line_items, Increase::ArrayOf.new(-> { Increase::Models::CardPurchaseSupplement::LineItem })

#transaction_idString

The ID of the transaction.

Returns:

  • (String)


29
# File 'lib/increase/models/card_purchase_supplement.rb', line 29

required :transaction_id, String

#typeSymbol

A constant representing the object's type. For this resource it will always be card_purchase_supplement.

Returns:

  • (Symbol)


34
# File 'lib/increase/models/card_purchase_supplement.rb', line 34

required :type, Increase::Enum.new(:card_purchase_supplement)