Class: PaymentDetailsItemType
- Inherits:
-
Object
- Object
- PaymentDetailsItemType
- Defined in:
- lib/v_paypal/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.
3713 3714 3715 3716 3717 3718 3719 |
# File 'lib/v_paypal/default.rb', line 3713 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.
3711 3712 3713 |
# File 'lib/v_paypal/default.rb', line 3711 def amount @amount end |
#name ⇒ Object
Returns the value of attribute name.
3707 3708 3709 |
# File 'lib/v_paypal/default.rb', line 3707 def name @name end |
#number ⇒ Object
Returns the value of attribute number.
3708 3709 3710 |
# File 'lib/v_paypal/default.rb', line 3708 def number @number end |
#quantity ⇒ Object
Returns the value of attribute quantity.
3709 3710 3711 |
# File 'lib/v_paypal/default.rb', line 3709 def quantity @quantity end |
#tax ⇒ Object
Returns the value of attribute tax.
3710 3711 3712 |
# File 'lib/v_paypal/default.rb', line 3710 def tax @tax end |