Class: ChannelAdvisor::OrderServiceSOAP::PaymentInfoResponse

Inherits:
PaymentInfo
  • Object
show all
Defined in:
lib/channel_advisor/order_service/types.rb

Overview

http://api.channeladvisor.com/datacontracts/ordersPaymentInfoResponse

paymentType - SOAP::SOAPString
creditCardLast4 - SOAP::SOAPString
payPalID - SOAP::SOAPString
merchantReferenceNumber - SOAP::SOAPString
paymentTransactionID - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of PaymentInfoResponse.



459
460
461
462
463
464
465
# File 'lib/channel_advisor/order_service/types.rb', line 459

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.



454
455
456
# File 'lib/channel_advisor/order_service/types.rb', line 454

def creditCardLast4
  @creditCardLast4
end

#merchantReferenceNumberObject

Returns the value of attribute merchantReferenceNumber.



456
457
458
# File 'lib/channel_advisor/order_service/types.rb', line 456

def merchantReferenceNumber
  @merchantReferenceNumber
end

#paymentTransactionIDObject

Returns the value of attribute paymentTransactionID.



457
458
459
# File 'lib/channel_advisor/order_service/types.rb', line 457

def paymentTransactionID
  @paymentTransactionID
end

#paymentTypeObject

Returns the value of attribute paymentType.



453
454
455
# File 'lib/channel_advisor/order_service/types.rb', line 453

def paymentType
  @paymentType
end

#payPalIDObject

Returns the value of attribute payPalID.



455
456
457
# File 'lib/channel_advisor/order_service/types.rb', line 455

def payPalID
  @payPalID
end