Class: PaymentDetailsType

Inherits:
Object
  • Object
show all
Defined in:
lib/v_paypal/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.



3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
# File 'lib/v_paypal/default.rb', line 3817

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.



3812
3813
3814
# File 'lib/v_paypal/default.rb', line 3812

def buttonSource
  @buttonSource
end

#customObject

Returns the value of attribute custom.



3810
3811
3812
# File 'lib/v_paypal/default.rb', line 3810

def custom
  @custom
end

#handlingTotalObject

Returns the value of attribute handlingTotal.



3807
3808
3809
# File 'lib/v_paypal/default.rb', line 3807

def handlingTotal
  @handlingTotal
end

#invoiceIDObject

Returns the value of attribute invoiceID.



3811
3812
3813
# File 'lib/v_paypal/default.rb', line 3811

def invoiceID
  @invoiceID
end

#itemTotalObject

Returns the value of attribute itemTotal.



3805
3806
3807
# File 'lib/v_paypal/default.rb', line 3805

def itemTotal
  @itemTotal
end

#notifyURLObject

Returns the value of attribute notifyURL.



3813
3814
3815
# File 'lib/v_paypal/default.rb', line 3813

def notifyURL
  @notifyURL
end

#orderDescriptionObject

Returns the value of attribute orderDescription.



3809
3810
3811
# File 'lib/v_paypal/default.rb', line 3809

def orderDescription
  @orderDescription
end

#orderTotalObject

Returns the value of attribute orderTotal.



3804
3805
3806
# File 'lib/v_paypal/default.rb', line 3804

def orderTotal
  @orderTotal
end

#paymentDetailsItemObject

Returns the value of attribute paymentDetailsItem.



3815
3816
3817
# File 'lib/v_paypal/default.rb', line 3815

def paymentDetailsItem
  @paymentDetailsItem
end

#shippingTotalObject

Returns the value of attribute shippingTotal.



3806
3807
3808
# File 'lib/v_paypal/default.rb', line 3806

def shippingTotal
  @shippingTotal
end

#shipToAddressObject

Returns the value of attribute shipToAddress.



3814
3815
3816
# File 'lib/v_paypal/default.rb', line 3814

def shipToAddress
  @shipToAddress
end

#taxTotalObject

Returns the value of attribute taxTotal.



3808
3809
3810
# File 'lib/v_paypal/default.rb', line 3808

def taxTotal
  @taxTotal
end