Class: PaymentDetailsItemType
- Inherits:
-
Object
- Object
- PaymentDetailsItemType
- 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
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#name ⇒ Object
Returns the value of attribute name.
-
#number ⇒ Object
Returns the value of attribute number.
-
#quantity ⇒ Object
Returns the value of attribute quantity.
-
#tax ⇒ Object
Returns the value of attribute tax.
Instance Method Summary collapse
-
#initialize(name = nil, number = nil, quantity = nil, tax = nil, amount = nil) ⇒ PaymentDetailsItemType
constructor
A new instance of PaymentDetailsItemType.
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
#amount ⇒ Object
Returns the value of attribute amount.
3894 3895 3896 |
# File 'lib/paypal-business/default.rb', line 3894 def amount @amount end |
#name ⇒ Object
Returns the value of attribute name.
3890 3891 3892 |
# File 'lib/paypal-business/default.rb', line 3890 def name @name end |
#number ⇒ Object
Returns the value of attribute number.
3891 3892 3893 |
# File 'lib/paypal-business/default.rb', line 3891 def number @number end |
#quantity ⇒ Object
Returns the value of attribute quantity.
3892 3893 3894 |
# File 'lib/paypal-business/default.rb', line 3892 def quantity @quantity end |
#tax ⇒ Object
Returns the value of attribute tax.
3893 3894 3895 |
# File 'lib/paypal-business/default.rb', line 3893 def tax @tax end |