Class: ChannelAdvisor::OrderServiceSOAP::PaymentInfo
- Inherits:
-
Object
- Object
- ChannelAdvisor::OrderServiceSOAP::PaymentInfo
- Defined in:
- lib/channel_advisor/order_service/types.rb
Overview
http://api.channeladvisor.com/datacontracts/ordersPaymentInfo
paymentType - SOAP::SOAPString
creditCardLast4 - SOAP::SOAPString
payPalID - SOAP::SOAPString
merchantReferenceNumber - SOAP::SOAPString
paymentTransactionID - SOAP::SOAPString
Direct Known Subclasses
Instance Attribute Summary collapse
-
#creditCardLast4 ⇒ Object
Returns the value of attribute creditCardLast4.
-
#merchantReferenceNumber ⇒ Object
Returns the value of attribute merchantReferenceNumber.
-
#paymentTransactionID ⇒ Object
Returns the value of attribute paymentTransactionID.
-
#paymentType ⇒ Object
Returns the value of attribute paymentType.
-
#payPalID ⇒ Object
Returns the value of attribute payPalID.
Instance Method Summary collapse
-
#initialize(paymentType = nil, creditCardLast4 = nil, payPalID = nil, merchantReferenceNumber = nil, paymentTransactionID = nil) ⇒ PaymentInfo
constructor
A new instance of PaymentInfo.
Constructor Details
#initialize(paymentType = nil, creditCardLast4 = nil, payPalID = nil, merchantReferenceNumber = nil, paymentTransactionID = nil) ⇒ PaymentInfo
Returns a new instance of PaymentInfo.
437 438 439 440 441 442 443 |
# File 'lib/channel_advisor/order_service/types.rb', line 437 def initialize(paymentType = nil, creditCardLast4 = nil, payPalID = nil, merchantReferenceNumber = nil, paymentTransactionID = nil) @paymentType = paymentType @creditCardLast4 = creditCardLast4 @payPalID = payPalID @merchantReferenceNumber = merchantReferenceNumber @paymentTransactionID = paymentTransactionID end |
Instance Attribute Details
#creditCardLast4 ⇒ Object
Returns the value of attribute creditCardLast4.
432 433 434 |
# File 'lib/channel_advisor/order_service/types.rb', line 432 def creditCardLast4 @creditCardLast4 end |
#merchantReferenceNumber ⇒ Object
Returns the value of attribute merchantReferenceNumber.
434 435 436 |
# File 'lib/channel_advisor/order_service/types.rb', line 434 def merchantReferenceNumber @merchantReferenceNumber end |
#paymentTransactionID ⇒ Object
Returns the value of attribute paymentTransactionID.
435 436 437 |
# File 'lib/channel_advisor/order_service/types.rb', line 435 def paymentTransactionID @paymentTransactionID end |
#paymentType ⇒ Object
Returns the value of attribute paymentType.
431 432 433 |
# File 'lib/channel_advisor/order_service/types.rb', line 431 def paymentType @paymentType end |
#payPalID ⇒ Object
Returns the value of attribute payPalID.
433 434 435 |
# File 'lib/channel_advisor/order_service/types.rb', line 433 def payPalID @payPalID end |