Class: ChannelAdvisor::OrderServiceSOAP::PaymentInfo

Inherits:
Object
  • Object
show all
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

PaymentInfoResponse

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(paymentType = nil, creditCardLast4 = nil, payPalID = nil, merchantReferenceNumber = nil, paymentTransactionID = nil) ⇒ PaymentInfo


438
439
440
441
442
443
444
# File 'lib/channel_advisor/order_service/types.rb', line 438

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

#creditCardLast4Object

Returns the value of attribute creditCardLast4


433
434
435
# File 'lib/channel_advisor/order_service/types.rb', line 433

def creditCardLast4
  @creditCardLast4
end

#merchantReferenceNumberObject

Returns the value of attribute merchantReferenceNumber


435
436
437
# File 'lib/channel_advisor/order_service/types.rb', line 435

def merchantReferenceNumber
  @merchantReferenceNumber
end

#paymentTransactionIDObject

Returns the value of attribute paymentTransactionID


436
437
438
# File 'lib/channel_advisor/order_service/types.rb', line 436

def paymentTransactionID
  @paymentTransactionID
end

#paymentTypeObject

Returns the value of attribute paymentType


432
433
434
# File 'lib/channel_advisor/order_service/types.rb', line 432

def paymentType
  @paymentType
end

#payPalIDObject

Returns the value of attribute payPalID


434
435
436
# File 'lib/channel_advisor/order_service/types.rb', line 434

def payPalID
  @payPalID
end