Class: PaymentDetailsType

Inherits:
Object
  • Object
show all
Defined in:
lib/paypal-business/default.rb

Overview

urn:ebay:apis:eBLBaseComponentsPaymentDetailsType

Constant Summary collapse

@@schema_type =
"PaymentDetailsType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["orderTotal", ["BasicAmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "OrderTotal")]],
  ["itemTotal", ["BasicAmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ItemTotal")]],
  ["shippingTotal", ["BasicAmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingTotal")]],
  ["handlingTotal", ["BasicAmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "HandlingTotal")]],
  ["taxTotal", ["BasicAmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "TaxTotal")]],
  ["orderDescription", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "OrderDescription")]],
  ["custom", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Custom")]],
  ["invoiceID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "InvoiceID")]],
  ["buttonSource", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ButtonSource")]],
  ["notifyURL", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "NotifyURL")]],
  ["shipToAddress", ["AddressType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShipToAddress")]],
  ["paymentDetailsItem", ["PaymentDetailsItemType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PaymentDetailsItem")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(orderTotal = nil, itemTotal = nil, shippingTotal = nil, handlingTotal = nil, taxTotal = nil, orderDescription = nil, custom = nil, invoiceID = nil, buttonSource = nil, notifyURL = nil, shipToAddress = nil, paymentDetailsItem = []) ⇒ PaymentDetailsType

Returns a new instance of PaymentDetailsType.



4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
# File 'lib/paypal-business/default.rb', line 4000

def initialize(orderTotal = nil, itemTotal = nil, shippingTotal = nil, handlingTotal = nil, taxTotal = nil, orderDescription = nil, custom = nil, invoiceID = nil, buttonSource = nil, notifyURL = nil, shipToAddress = nil, paymentDetailsItem = [])
  @orderTotal = orderTotal
  @itemTotal = itemTotal
  @shippingTotal = shippingTotal
  @handlingTotal = handlingTotal
  @taxTotal = taxTotal
  @orderDescription = orderDescription
  @custom = custom
  @invoiceID = invoiceID
  @buttonSource = buttonSource
  @notifyURL = notifyURL
  @shipToAddress = shipToAddress
  @paymentDetailsItem = paymentDetailsItem
end

Instance Attribute Details

#buttonSourceObject

Returns the value of attribute buttonSource.



3995
3996
3997
# File 'lib/paypal-business/default.rb', line 3995

def buttonSource
  @buttonSource
end

#customObject

Returns the value of attribute custom.



3993
3994
3995
# File 'lib/paypal-business/default.rb', line 3993

def custom
  @custom
end

#handlingTotalObject

Returns the value of attribute handlingTotal.



3990
3991
3992
# File 'lib/paypal-business/default.rb', line 3990

def handlingTotal
  @handlingTotal
end

#invoiceIDObject

Returns the value of attribute invoiceID.



3994
3995
3996
# File 'lib/paypal-business/default.rb', line 3994

def invoiceID
  @invoiceID
end

#itemTotalObject

Returns the value of attribute itemTotal.



3988
3989
3990
# File 'lib/paypal-business/default.rb', line 3988

def itemTotal
  @itemTotal
end

#notifyURLObject

Returns the value of attribute notifyURL.



3996
3997
3998
# File 'lib/paypal-business/default.rb', line 3996

def notifyURL
  @notifyURL
end

#orderDescriptionObject

Returns the value of attribute orderDescription.



3992
3993
3994
# File 'lib/paypal-business/default.rb', line 3992

def orderDescription
  @orderDescription
end

#orderTotalObject

Returns the value of attribute orderTotal.



3987
3988
3989
# File 'lib/paypal-business/default.rb', line 3987

def orderTotal
  @orderTotal
end

#paymentDetailsItemObject

Returns the value of attribute paymentDetailsItem.



3998
3999
4000
# File 'lib/paypal-business/default.rb', line 3998

def paymentDetailsItem
  @paymentDetailsItem
end

#shippingTotalObject

Returns the value of attribute shippingTotal.



3989
3990
3991
# File 'lib/paypal-business/default.rb', line 3989

def shippingTotal
  @shippingTotal
end

#shipToAddressObject

Returns the value of attribute shipToAddress.



3997
3998
3999
# File 'lib/paypal-business/default.rb', line 3997

def shipToAddress
  @shipToAddress
end

#taxTotalObject

Returns the value of attribute taxTotal.



3991
3992
3993
# File 'lib/paypal-business/default.rb', line 3991

def taxTotal
  @taxTotal
end