Class: PaymentItemType
- Inherits:
-
Object
- Object
- PaymentItemType
- Defined in:
- lib/paypal-business/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.
3925 3926 3927 3928 3929 3930 3931 3932 |
# File 'lib/paypal-business/default.rb', line 3925 def initialize(name = nil, number = nil, quantity = nil, salesTax = nil, amount = nil, = []) @name = name @number = number @quantity = quantity @salesTax = salesTax @amount = amount @options = end |
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
3922 3923 3924 |
# File 'lib/paypal-business/default.rb', line 3922 def amount @amount end |
#name ⇒ Object
Returns the value of attribute name.
3918 3919 3920 |
# File 'lib/paypal-business/default.rb', line 3918 def name @name end |
#number ⇒ Object
Returns the value of attribute number.
3919 3920 3921 |
# File 'lib/paypal-business/default.rb', line 3919 def number @number end |
#options ⇒ Object
Returns the value of attribute options.
3923 3924 3925 |
# File 'lib/paypal-business/default.rb', line 3923 def @options end |
#quantity ⇒ Object
Returns the value of attribute quantity.
3920 3921 3922 |
# File 'lib/paypal-business/default.rb', line 3920 def quantity @quantity end |
#salesTax ⇒ Object
Returns the value of attribute salesTax.
3921 3922 3923 |
# File 'lib/paypal-business/default.rb', line 3921 def salesTax @salesTax end |