Class: TransactionType

Inherits:
Object
  • Object
show all
Defined in:
lib/paypal-business/default.rb

Overview

urn:ebay:apis:eBLBaseComponentsTransactionType

Constant Summary collapse

@@schema_type =
"TransactionType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["amountPaid", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "AmountPaid")]],
  ["buyer", ["UserType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Buyer")]],
  ["shippingDetails", ["ShippingDetailsType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingDetails")]],
  ["convertedAmountPaid", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ConvertedAmountPaid")]],
  ["convertedTransactionPrice", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ConvertedTransactionPrice")]],
  ["createdDate", ["SOAP::SOAPDateTime", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CreatedDate")]],
  ["depositType", ["DepositTypeCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DepositType")]],
  ["item", ["ItemType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Item")]],
  ["quantityPurchased", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "QuantityPurchased")]],
  ["shippingHandlingTotal", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShippingHandlingTotal")]],
  ["status", ["TransactionStatusType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Status")]],
  ["transactionID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "TransactionID")]],
  ["authorizationID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "AuthorizationID")]],
  ["transactionPrice", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "TransactionPrice")]],
  ["vATPercent", ["SOAP::SOAPDecimal", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "VATPercent")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(amountPaid = nil, buyer = nil, shippingDetails = nil, convertedAmountPaid = nil, convertedTransactionPrice = nil, createdDate = nil, depositType = nil, item = nil, quantityPurchased = nil, shippingHandlingTotal = nil, status = nil, transactionID = nil, authorizationID = nil, transactionPrice = nil, vATPercent = nil) ⇒ TransactionType

Returns a new instance of TransactionType.



2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
# File 'lib/paypal-business/default.rb', line 2762

def initialize(amountPaid = nil, buyer = nil, shippingDetails = nil, convertedAmountPaid = nil, convertedTransactionPrice = nil, createdDate = nil, depositType = nil, item = nil, quantityPurchased = nil, shippingHandlingTotal = nil, status = nil, transactionID = nil, authorizationID = nil, transactionPrice = nil, vATPercent = nil)
  @amountPaid = amountPaid
  @buyer = buyer
  @shippingDetails = shippingDetails
  @convertedAmountPaid = convertedAmountPaid
  @convertedTransactionPrice = convertedTransactionPrice
  @createdDate = createdDate
  @depositType = depositType
  @item = item
  @quantityPurchased = quantityPurchased
  @shippingHandlingTotal = shippingHandlingTotal
  @status = status
  @transactionID = transactionID
  @authorizationID = authorizationID
  @transactionPrice = transactionPrice
  @vATPercent = vATPercent
end

Instance Attribute Details

#amountPaidObject

Returns the value of attribute amountPaid.



2746
2747
2748
# File 'lib/paypal-business/default.rb', line 2746

def amountPaid
  @amountPaid
end

#authorizationIDObject

Returns the value of attribute authorizationID.



2758
2759
2760
# File 'lib/paypal-business/default.rb', line 2758

def authorizationID
  @authorizationID
end

#buyerObject

Returns the value of attribute buyer.



2747
2748
2749
# File 'lib/paypal-business/default.rb', line 2747

def buyer
  @buyer
end

#convertedAmountPaidObject

Returns the value of attribute convertedAmountPaid.



2749
2750
2751
# File 'lib/paypal-business/default.rb', line 2749

def convertedAmountPaid
  @convertedAmountPaid
end

#convertedTransactionPriceObject

Returns the value of attribute convertedTransactionPrice.



2750
2751
2752
# File 'lib/paypal-business/default.rb', line 2750

def convertedTransactionPrice
  @convertedTransactionPrice
end

#createdDateObject

Returns the value of attribute createdDate.



2751
2752
2753
# File 'lib/paypal-business/default.rb', line 2751

def createdDate
  @createdDate
end

#depositTypeObject

Returns the value of attribute depositType.



2752
2753
2754
# File 'lib/paypal-business/default.rb', line 2752

def depositType
  @depositType
end

#itemObject

Returns the value of attribute item.



2753
2754
2755
# File 'lib/paypal-business/default.rb', line 2753

def item
  @item
end

#quantityPurchasedObject

Returns the value of attribute quantityPurchased.



2754
2755
2756
# File 'lib/paypal-business/default.rb', line 2754

def quantityPurchased
  @quantityPurchased
end

#shippingDetailsObject

Returns the value of attribute shippingDetails.



2748
2749
2750
# File 'lib/paypal-business/default.rb', line 2748

def shippingDetails
  @shippingDetails
end

#shippingHandlingTotalObject

Returns the value of attribute shippingHandlingTotal.



2755
2756
2757
# File 'lib/paypal-business/default.rb', line 2755

def shippingHandlingTotal
  @shippingHandlingTotal
end

#statusObject

Returns the value of attribute status.



2756
2757
2758
# File 'lib/paypal-business/default.rb', line 2756

def status
  @status
end

#transactionIDObject

Returns the value of attribute transactionID.



2757
2758
2759
# File 'lib/paypal-business/default.rb', line 2757

def transactionID
  @transactionID
end

#transactionPriceObject

Returns the value of attribute transactionPrice.



2759
2760
2761
# File 'lib/paypal-business/default.rb', line 2759

def transactionPrice
  @transactionPrice
end

#vATPercentObject

Returns the value of attribute vATPercent.



2760
2761
2762
# File 'lib/paypal-business/default.rb', line 2760

def vATPercent
  @vATPercent
end