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.



1315
1316
1317
1318
1319
1320
1321
# File 'lib/authorize_net/api/schema.rb', line 1315

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