Class: MerchantPullPaymentType

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

Overview

urn:ebay:apis:eBLBaseComponentsMerchantPullPaymentType

Constant Summary collapse

@@schema_type =
"MerchantPullPaymentType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["amount", ["BasicAmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Amount")]],
  ["mpID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "MpID")]],
  ["paymentType", ["MerchantPullPaymentCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PaymentType")]],
  ["memo", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Memo")]],
  ["emailSubject", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "EmailSubject")]],
  ["tax", ["BasicAmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Tax")]],
  ["shipping", ["BasicAmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Shipping")]],
  ["handling", ["BasicAmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Handling")]],
  ["itemName", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ItemName")]],
  ["itemNumber", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ItemNumber")]],
  ["invoice", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Invoice")]],
  ["custom", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Custom")]],
  ["buttonSource", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ButtonSource")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(amount = nil, mpID = nil, paymentType = nil, memo = nil, emailSubject = nil, tax = nil, shipping = nil, handling = nil, itemName = nil, itemNumber = nil, invoice = nil, custom = nil, buttonSource = nil) ⇒ MerchantPullPaymentType

Returns a new instance of MerchantPullPaymentType.



3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
# File 'lib/paypal-business/default.rb', line 3581

def initialize(amount = nil, mpID = nil, paymentType = nil, memo = nil, emailSubject = nil, tax = nil, shipping = nil, handling = nil, itemName = nil, itemNumber = nil, invoice = nil, custom = nil, buttonSource = nil)
  @amount = amount
  @mpID = mpID
  @paymentType = paymentType
  @memo = memo
  @emailSubject = emailSubject
  @tax = tax
  @shipping = shipping
  @handling = handling
  @itemName = itemName
  @itemNumber = itemNumber
  @invoice = invoice
  @custom = custom
  @buttonSource = buttonSource
end

Instance Attribute Details

#amountObject

Returns the value of attribute amount.



3567
3568
3569
# File 'lib/paypal-business/default.rb', line 3567

def amount
  @amount
end

#buttonSourceObject

Returns the value of attribute buttonSource.



3579
3580
3581
# File 'lib/paypal-business/default.rb', line 3579

def buttonSource
  @buttonSource
end

#customObject

Returns the value of attribute custom.



3578
3579
3580
# File 'lib/paypal-business/default.rb', line 3578

def custom
  @custom
end

#emailSubjectObject

Returns the value of attribute emailSubject.



3571
3572
3573
# File 'lib/paypal-business/default.rb', line 3571

def emailSubject
  @emailSubject
end

#handlingObject

Returns the value of attribute handling.



3574
3575
3576
# File 'lib/paypal-business/default.rb', line 3574

def handling
  @handling
end

#invoiceObject

Returns the value of attribute invoice.



3577
3578
3579
# File 'lib/paypal-business/default.rb', line 3577

def invoice
  @invoice
end

#itemNameObject

Returns the value of attribute itemName.



3575
3576
3577
# File 'lib/paypal-business/default.rb', line 3575

def itemName
  @itemName
end

#itemNumberObject

Returns the value of attribute itemNumber.



3576
3577
3578
# File 'lib/paypal-business/default.rb', line 3576

def itemNumber
  @itemNumber
end

#memoObject

Returns the value of attribute memo.



3570
3571
3572
# File 'lib/paypal-business/default.rb', line 3570

def memo
  @memo
end

#mpIDObject

Returns the value of attribute mpID.



3568
3569
3570
# File 'lib/paypal-business/default.rb', line 3568

def mpID
  @mpID
end

#paymentTypeObject

Returns the value of attribute paymentType.



3569
3570
3571
# File 'lib/paypal-business/default.rb', line 3569

def paymentType
  @paymentType
end

#shippingObject

Returns the value of attribute shipping.



3573
3574
3575
# File 'lib/paypal-business/default.rb', line 3573

def shipping
  @shipping
end

#taxObject

Returns the value of attribute tax.



3572
3573
3574
# File 'lib/paypal-business/default.rb', line 3572

def tax
  @tax
end