Class: PaymentItemInfoType

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

Overview

urn:ebay:apis:eBLBaseComponentsPaymentItemInfoType

Constant Summary collapse

@@schema_type =
"PaymentItemInfoType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["invoiceID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "InvoiceID")]],
  ["custom", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Custom")]],
  ["memo", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Memo")]],
  ["salesTax", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SalesTax")]],
  ["paymentItem", ["PaymentItemType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PaymentItem")]],
  ["subscription", ["SubscriptionInfoType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Subscription")]],
  ["auction", ["AuctionInfoType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Auction")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(invoiceID = nil, custom = nil, memo = nil, salesTax = nil, paymentItem = [], subscription = nil, auction = nil) ⇒ PaymentItemInfoType

Returns a new instance of PaymentItemInfoType.



3957
3958
3959
3960
3961
3962
3963
3964
3965
# File 'lib/paypal-business/default.rb', line 3957

def initialize(invoiceID = nil, custom = nil, memo = nil, salesTax = nil, paymentItem = [], subscription = nil, auction = nil)
  @invoiceID = invoiceID
  @custom = custom
  @memo = memo
  @salesTax = salesTax
  @paymentItem = paymentItem
  @subscription = subscription
  @auction = auction
end

Instance Attribute Details

#auctionObject

Returns the value of attribute auction.



3955
3956
3957
# File 'lib/paypal-business/default.rb', line 3955

def auction
  @auction
end

#customObject

Returns the value of attribute custom.



3950
3951
3952
# File 'lib/paypal-business/default.rb', line 3950

def custom
  @custom
end

#invoiceIDObject

Returns the value of attribute invoiceID.



3949
3950
3951
# File 'lib/paypal-business/default.rb', line 3949

def invoiceID
  @invoiceID
end

#memoObject

Returns the value of attribute memo.



3951
3952
3953
# File 'lib/paypal-business/default.rb', line 3951

def memo
  @memo
end

#paymentItemObject

Returns the value of attribute paymentItem.



3953
3954
3955
# File 'lib/paypal-business/default.rb', line 3953

def paymentItem
  @paymentItem
end

#salesTaxObject

Returns the value of attribute salesTax.



3952
3953
3954
# File 'lib/paypal-business/default.rb', line 3952

def salesTax
  @salesTax
end

#subscriptionObject

Returns the value of attribute subscription.



3954
3955
3956
# File 'lib/paypal-business/default.rb', line 3954

def subscription
  @subscription
end