Class: PaymentInfoType

Inherits:
Object
  • Object
show all
Defined in:
lib/v_paypal/default.rb

Overview

urn:ebay:apis:eBLBaseComponentsPaymentInfoType

Constant Summary collapse

@@schema_type =
"PaymentInfoType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["transactionID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "TransactionID")]],
  ["parentTransactionID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ParentTransactionID")]],
  ["receiptID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ReceiptID")]],
  ["transactionType", ["PaymentTransactionCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "TransactionType")]],
  ["paymentType", ["PaymentCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PaymentType")]],
  ["paymentDate", ["SOAP::SOAPDateTime", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PaymentDate")]],
  ["grossAmount", ["BasicAmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "GrossAmount")]],
  ["feeAmount", ["BasicAmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "FeeAmount")]],
  ["settleAmount", ["BasicAmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SettleAmount")]],
  ["taxAmount", ["BasicAmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "TaxAmount")]],
  ["exchangeRate", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ExchangeRate")]],
  ["paymentStatus", ["PaymentStatusCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PaymentStatus")]],
  ["pendingReason", ["PendingStatusCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PendingReason")]],
  ["reasonCode", ["ReversalReasonCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ReasonCode")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(transactionID = nil, parentTransactionID = nil, receiptID = nil, transactionType = nil, paymentType = nil, paymentDate = nil, grossAmount = nil, feeAmount = nil, settleAmount = nil, taxAmount = nil, exchangeRate = nil, paymentStatus = nil, pendingReason = nil, reasonCode = nil) ⇒ PaymentInfoType

Returns a new instance of PaymentInfoType.



3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
# File 'lib/v_paypal/default.rb', line 3532

def initialize(transactionID = nil, parentTransactionID = nil, receiptID = nil, transactionType = nil, paymentType = nil, paymentDate = nil, grossAmount = nil, feeAmount = nil, settleAmount = nil, taxAmount = nil, exchangeRate = nil, paymentStatus = nil, pendingReason = nil, reasonCode = nil)
  @transactionID = transactionID
  @parentTransactionID = parentTransactionID
  @receiptID = receiptID
  @transactionType = transactionType
  @paymentType = paymentType
  @paymentDate = paymentDate
  @grossAmount = grossAmount
  @feeAmount = feeAmount
  @settleAmount = settleAmount
  @taxAmount = taxAmount
  @exchangeRate = exchangeRate
  @paymentStatus = paymentStatus
  @pendingReason = pendingReason
  @reasonCode = reasonCode
end

Instance Attribute Details

#exchangeRateObject

Returns the value of attribute exchangeRate.



3527
3528
3529
# File 'lib/v_paypal/default.rb', line 3527

def exchangeRate
  @exchangeRate
end

#feeAmountObject

Returns the value of attribute feeAmount.



3524
3525
3526
# File 'lib/v_paypal/default.rb', line 3524

def feeAmount
  @feeAmount
end

#grossAmountObject

Returns the value of attribute grossAmount.



3523
3524
3525
# File 'lib/v_paypal/default.rb', line 3523

def grossAmount
  @grossAmount
end

#parentTransactionIDObject

Returns the value of attribute parentTransactionID.



3518
3519
3520
# File 'lib/v_paypal/default.rb', line 3518

def parentTransactionID
  @parentTransactionID
end

#paymentDateObject

Returns the value of attribute paymentDate.



3522
3523
3524
# File 'lib/v_paypal/default.rb', line 3522

def paymentDate
  @paymentDate
end

#paymentStatusObject

Returns the value of attribute paymentStatus.



3528
3529
3530
# File 'lib/v_paypal/default.rb', line 3528

def paymentStatus
  @paymentStatus
end

#paymentTypeObject

Returns the value of attribute paymentType.



3521
3522
3523
# File 'lib/v_paypal/default.rb', line 3521

def paymentType
  @paymentType
end

#pendingReasonObject

Returns the value of attribute pendingReason.



3529
3530
3531
# File 'lib/v_paypal/default.rb', line 3529

def pendingReason
  @pendingReason
end

#reasonCodeObject

Returns the value of attribute reasonCode.



3530
3531
3532
# File 'lib/v_paypal/default.rb', line 3530

def reasonCode
  @reasonCode
end

#receiptIDObject

Returns the value of attribute receiptID.



3519
3520
3521
# File 'lib/v_paypal/default.rb', line 3519

def receiptID
  @receiptID
end

#settleAmountObject

Returns the value of attribute settleAmount.



3525
3526
3527
# File 'lib/v_paypal/default.rb', line 3525

def settleAmount
  @settleAmount
end

#taxAmountObject

Returns the value of attribute taxAmount.



3526
3527
3528
# File 'lib/v_paypal/default.rb', line 3526

def taxAmount
  @taxAmount
end

#transactionIDObject

Returns the value of attribute transactionID.



3517
3518
3519
# File 'lib/v_paypal/default.rb', line 3517

def transactionID
  @transactionID
end

#transactionTypeObject

Returns the value of attribute transactionType.



3520
3521
3522
# File 'lib/v_paypal/default.rb', line 3520

def transactionType
  @transactionType
end