Class: PaymentDetailsItemType

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

Overview

urn:ebay:apis:eBLBaseComponentsPaymentDetailsItemType

Constant Summary collapse

@@schema_type =
"PaymentDetailsItemType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["name", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Name")]],
  ["number", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Number")]],
  ["quantity", ["SOAP::SOAPInteger", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Quantity")]],
  ["tax", ["BasicAmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Tax")]],
  ["amount", ["BasicAmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Amount")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, number = nil, quantity = nil, tax = nil, amount = nil) ⇒ PaymentDetailsItemType

Returns a new instance of PaymentDetailsItemType.



3896
3897
3898
3899
3900
3901
3902
# File 'lib/paypal-business/default.rb', line 3896

def initialize(name = nil, number = nil, quantity = nil, tax = nil, amount = nil)
  @name = name
  @number = number
  @quantity = quantity
  @tax = tax
  @amount = amount
end

Instance Attribute Details

#amountObject

Returns the value of attribute amount.



3894
3895
3896
# File 'lib/paypal-business/default.rb', line 3894

def amount
  @amount
end

#nameObject

Returns the value of attribute name.



3890
3891
3892
# File 'lib/paypal-business/default.rb', line 3890

def name
  @name
end

#numberObject

Returns the value of attribute number.



3891
3892
3893
# File 'lib/paypal-business/default.rb', line 3891

def number
  @number
end

#quantityObject

Returns the value of attribute quantity.



3892
3893
3894
# File 'lib/paypal-business/default.rb', line 3892

def quantity
  @quantity
end

#taxObject

Returns the value of attribute tax.



3893
3894
3895
# File 'lib/paypal-business/default.rb', line 3893

def tax
  @tax
end