Class: AuthorizeNet::API::ProfileTransAmountType

Inherits:
Object
  • Object
show all
Includes:
ROXML
Defined in:
lib/authorize_net/api/schema.rb

Overview

AnetApi/xml/v1/schema/AnetApiSchema.xsdprofileTransAmountType

amount - SOAP::SOAPDecimal
tax - ExtendedAmountType
shipping - ExtendedAmountType
duty - ExtendedAmountType
lineItems - LineItemType

Instance Method Summary collapse

Constructor Details

#initialize(amount = nil, tax = nil, shipping = nil, duty = nil, lineItems = []) ⇒ ProfileTransAmountType

Returns a new instance of ProfileTransAmountType.



1208
1209
1210
1211
1212
1213
1214
# File 'lib/authorize_net/api/schema.rb', line 1208

def initialize(amount = nil, tax = nil, shipping = nil, duty = nil, lineItems = [])
  @amount = amount
  @tax = tax
  @shipping = shipping
  @duty = duty
  @lineItems = lineItems
end