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.



1388
1389
1390
1391
1392
1393
1394
# File 'lib/authorize_net/api/schema.rb', line 1388

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