Class: MerchantPullPaymentType

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



3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
# File 'lib/v_paypal/default.rb', line 3401

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.



3387
3388
3389
# File 'lib/v_paypal/default.rb', line 3387

def amount
  @amount
end

#buttonSourceObject

Returns the value of attribute buttonSource.



3399
3400
3401
# File 'lib/v_paypal/default.rb', line 3399

def buttonSource
  @buttonSource
end

#customObject

Returns the value of attribute custom.



3398
3399
3400
# File 'lib/v_paypal/default.rb', line 3398

def custom
  @custom
end

#emailSubjectObject

Returns the value of attribute emailSubject.



3391
3392
3393
# File 'lib/v_paypal/default.rb', line 3391

def emailSubject
  @emailSubject
end

#handlingObject

Returns the value of attribute handling.



3394
3395
3396
# File 'lib/v_paypal/default.rb', line 3394

def handling
  @handling
end

#invoiceObject

Returns the value of attribute invoice.



3397
3398
3399
# File 'lib/v_paypal/default.rb', line 3397

def invoice
  @invoice
end

#itemNameObject

Returns the value of attribute itemName.



3395
3396
3397
# File 'lib/v_paypal/default.rb', line 3395

def itemName
  @itemName
end

#itemNumberObject

Returns the value of attribute itemNumber.



3396
3397
3398
# File 'lib/v_paypal/default.rb', line 3396

def itemNumber
  @itemNumber
end

#memoObject

Returns the value of attribute memo.



3390
3391
3392
# File 'lib/v_paypal/default.rb', line 3390

def memo
  @memo
end

#mpIDObject

Returns the value of attribute mpID.



3388
3389
3390
# File 'lib/v_paypal/default.rb', line 3388

def mpID
  @mpID
end

#paymentTypeObject

Returns the value of attribute paymentType.



3389
3390
3391
# File 'lib/v_paypal/default.rb', line 3389

def paymentType
  @paymentType
end

#shippingObject

Returns the value of attribute shipping.



3393
3394
3395
# File 'lib/v_paypal/default.rb', line 3393

def shipping
  @shipping
end

#taxObject

Returns the value of attribute tax.



3392
3393
3394
# File 'lib/v_paypal/default.rb', line 3392

def tax
  @tax
end