A transaction represents the entire purchase transaction.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cost
def cost() -> ::Float
Returns
#cost=
def cost=(value) -> ::Float
Parameter
Returns
#currency_code
def currency_code() -> ::String
Returns
- (::String) — Required. Currency code. Use three-character ISO-4217 code.
#currency_code=
def currency_code=(value) -> ::String
Parameter
- value (::String) — Required. Currency code. Use three-character ISO-4217 code.
Returns
- (::String) — Required. Currency code. Use three-character ISO-4217 code.
#id
def id() -> ::String
Returns
- (::String) — The transaction ID with a length limit of 128 characters.
#id=
def id=(value) -> ::String
Parameter
- value (::String) — The transaction ID with a length limit of 128 characters.
Returns
- (::String) — The transaction ID with a length limit of 128 characters.
#revenue
def revenue() -> ::Float
Returns
- (::Float) — Required. Total non-zero revenue or grand total associated with the transaction. This value include shipping, tax, or other adjustments to total revenue that you want to include as part of your revenue calculations.
#revenue=
def revenue=(value) -> ::Float
Parameter
- value (::Float) — Required. Total non-zero revenue or grand total associated with the transaction. This value include shipping, tax, or other adjustments to total revenue that you want to include as part of your revenue calculations.
Returns
- (::Float) — Required. Total non-zero revenue or grand total associated with the transaction. This value include shipping, tax, or other adjustments to total revenue that you want to include as part of your revenue calculations.
#tax
def tax() -> ::Float
Returns
- (::Float) — All the taxes associated with the transaction.
#tax=
def tax=(value) -> ::Float
Parameter
- value (::Float) — All the taxes associated with the transaction.
Returns
- (::Float) — All the taxes associated with the transaction.