Class: PaymentItemType
- Inherits:
-
Object
- Object
- PaymentItemType
- Defined in:
- lib/v_paypal/default.rb
Overview
urn:ebay:apis:eBLBaseComponentsPaymentItemType
Constant Summary collapse
- @@schema_type =
"PaymentItemType"- @@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::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Quantity")]], ["salesTax", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SalesTax")]], ["amount", ["BasicAmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Amount")]], ["options", ["OptionType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Options")]] ]
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.
-
#options ⇒ Object
Returns the value of attribute options.
-
#quantity ⇒ Object
Returns the value of attribute quantity.
-
#salesTax ⇒ Object
Returns the value of attribute salesTax.
Instance Method Summary collapse
-
#initialize(name = nil, number = nil, quantity = nil, salesTax = nil, amount = nil, options = []) ⇒ PaymentItemType
constructor
A new instance of PaymentItemType.
Constructor Details
#initialize(name = nil, number = nil, quantity = nil, salesTax = nil, amount = nil, options = []) ⇒ PaymentItemType
Returns a new instance of PaymentItemType.
3742 3743 3744 3745 3746 3747 3748 3749 |
# File 'lib/v_paypal/default.rb', line 3742 def initialize(name = nil, number = nil, quantity = nil, salesTax = nil, amount = nil, = []) @name = name @number = number @quantity = quantity @salesTax = salesTax @amount = amount = end |
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
3739 3740 3741 |
# File 'lib/v_paypal/default.rb', line 3739 def amount @amount end |
#name ⇒ Object
Returns the value of attribute name.
3735 3736 3737 |
# File 'lib/v_paypal/default.rb', line 3735 def name @name end |
#number ⇒ Object
Returns the value of attribute number.
3736 3737 3738 |
# File 'lib/v_paypal/default.rb', line 3736 def number @number end |
#options ⇒ Object
Returns the value of attribute options.
3740 3741 3742 |
# File 'lib/v_paypal/default.rb', line 3740 def end |
#quantity ⇒ Object
Returns the value of attribute quantity.
3737 3738 3739 |
# File 'lib/v_paypal/default.rb', line 3737 def quantity @quantity end |
#salesTax ⇒ Object
Returns the value of attribute salesTax.
3738 3739 3740 |
# File 'lib/v_paypal/default.rb', line 3738 def salesTax @salesTax end |