Class: AuthorizeNet::API::PaymentDetails

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

Overview

AnetApi/xml/v1/schema/AnetApiSchema.xsdpaymentDetails

currency - SOAP::SOAPString
promoCode - SOAP::SOAPString
misc - SOAP::SOAPString
giftWrap - SOAP::SOAPString
discount - SOAP::SOAPString
tax - SOAP::SOAPString
shippingHandling - SOAP::SOAPString
subTotal - SOAP::SOAPString
orderID - SOAP::SOAPString
amount - SOAP::SOAPString

Instance Method Summary collapse

Constructor Details

#initialize(currency = nil, promoCode = nil, misc = nil, giftWrap = nil, discount = nil, tax = nil, shippingHandling = nil, subTotal = nil, orderID = nil, amount = nil) ⇒ PaymentDetails

Returns a new instance of PaymentDetails.



948
949
950
951
952
953
954
955
956
957
958
959
# File 'lib/authorize_net/api/schema.rb', line 948

def initialize(currency = nil, promoCode = nil, misc = nil, giftWrap = nil, discount = nil, tax = nil, shippingHandling = nil, subTotal = nil, orderID = nil, amount = nil)
  @currency = currency
  @promoCode = promoCode
  @misc = misc
  @giftWrap = giftWrap
  @discount = discount
  @tax = tax
  @shippingHandling = shippingHandling
  @subTotal = subTotal
  @orderID = orderID
  @amount = amount
end