Class: PaymentItemInfoType

Inherits:
Object
  • Object
show all
Defined in:
lib/v_paypal/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.



3774
3775
3776
3777
3778
3779
3780
3781
3782
# File 'lib/v_paypal/default.rb', line 3774

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.



3772
3773
3774
# File 'lib/v_paypal/default.rb', line 3772

def auction
  @auction
end

#customObject

Returns the value of attribute custom.



3767
3768
3769
# File 'lib/v_paypal/default.rb', line 3767

def custom
  @custom
end

#invoiceIDObject

Returns the value of attribute invoiceID.



3766
3767
3768
# File 'lib/v_paypal/default.rb', line 3766

def invoiceID
  @invoiceID
end

#memoObject

Returns the value of attribute memo.



3768
3769
3770
# File 'lib/v_paypal/default.rb', line 3768

def memo
  @memo
end

#paymentItemObject

Returns the value of attribute paymentItem.



3770
3771
3772
# File 'lib/v_paypal/default.rb', line 3770

def paymentItem
  @paymentItem
end

#salesTaxObject

Returns the value of attribute salesTax.



3769
3770
3771
# File 'lib/v_paypal/default.rb', line 3769

def salesTax
  @salesTax
end

#subscriptionObject

Returns the value of attribute subscription.



3771
3772
3773
# File 'lib/v_paypal/default.rb', line 3771

def subscription
  @subscription
end