|
@@ 4102-4113 (lines=12) @@
|
| 4099 |
|
xml_accessor :transactionStatusEnum |
| 4100 |
|
xml_accessor :transactionTypeEnum |
| 4101 |
|
|
| 4102 |
|
def initialize(customerProfileSummaryType = nil, paymentSimpleType = nil, accountTypeEnum = nil, cardTypeEnum = nil, fDSFilterActionEnum = nil, permissionsEnum = nil, settingNameEnum = nil, settlementStateEnum = nil, transactionStatusEnum = nil, transactionTypeEnum = nil) |
| 4103 |
|
@customerProfileSummaryType = customerProfileSummaryType |
| 4104 |
|
@paymentSimpleType = paymentSimpleType |
| 4105 |
|
@accountTypeEnum = accountTypeEnum |
| 4106 |
|
@cardTypeEnum = cardTypeEnum |
| 4107 |
|
@fDSFilterActionEnum = fDSFilterActionEnum |
| 4108 |
|
@permissionsEnum = permissionsEnum |
| 4109 |
|
@settingNameEnum = settingNameEnum |
| 4110 |
|
@settlementStateEnum = settlementStateEnum |
| 4111 |
|
@transactionStatusEnum = transactionStatusEnum |
| 4112 |
|
@transactionTypeEnum = transactionTypeEnum |
| 4113 |
|
end |
| 4114 |
|
end |
| 4115 |
|
|
| 4116 |
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}transactionRequestType |
|
@@ 944-955 (lines=12) @@
|
| 941 |
|
xml_accessor :shipTo, :as => NameAndAddressType |
| 942 |
|
xml_accessor :profile, :as => CustomerProfileIdType |
| 943 |
|
|
| 944 |
|
def initialize(name = nil, paymentSchedule = nil, amount = nil, trialAmount = nil, payment = nil, order = nil, customer = nil, billTo = nil, shipTo = nil, profile = nil) |
| 945 |
|
@name = name |
| 946 |
|
@paymentSchedule = paymentSchedule |
| 947 |
|
@amount = amount |
| 948 |
|
@trialAmount = trialAmount |
| 949 |
|
@payment = payment |
| 950 |
|
@order = order |
| 951 |
|
@customer = customer |
| 952 |
|
@billTo = billTo |
| 953 |
|
@shipTo = shipTo |
| 954 |
|
@profile = profile |
| 955 |
|
end |
| 956 |
|
end |
| 957 |
|
|
| 958 |
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}subscriptionPaymentType |
|
@@ 854-865 (lines=12) @@
|
| 851 |
|
xml_accessor :orderID |
| 852 |
|
xml_accessor :amount |
| 853 |
|
|
| 854 |
|
def initialize(currency = nil, promoCode = nil, misc = nil, giftWrap = nil, discount = nil, tax = nil, shippingHandling = nil, subTotal = nil, orderID = nil, amount = nil) |
| 855 |
|
@currency = currency |
| 856 |
|
@promoCode = promoCode |
| 857 |
|
@misc = misc |
| 858 |
|
@giftWrap = giftWrap |
| 859 |
|
@discount = discount |
| 860 |
|
@tax = tax |
| 861 |
|
@shippingHandling = shippingHandling |
| 862 |
|
@subTotal = subTotal |
| 863 |
|
@orderID = orderID |
| 864 |
|
@amount = amount |
| 865 |
|
end |
| 866 |
|
end |
| 867 |
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentScheduleType |
| 868 |
|
# interval - PaymentScheduleType::Interval |
|
@@ 156-167 (lines=12) @@
|
| 153 |
|
xml_accessor :phoneNumber |
| 154 |
|
xml_accessor :faxNumber |
| 155 |
|
|
| 156 |
|
def initialize(firstName = nil, lastName = nil, company = nil, address = nil, city = nil, state = nil, zip = nil, country = nil, phoneNumber = nil, faxNumber = nil) |
| 157 |
|
@firstName = firstName |
| 158 |
|
@lastName = lastName |
| 159 |
|
@company = company |
| 160 |
|
@address = address |
| 161 |
|
@city = city |
| 162 |
|
@state = state |
| 163 |
|
@zip = zip |
| 164 |
|
@country = country |
| 165 |
|
@phoneNumber = phoneNumber |
| 166 |
|
@faxNumber = faxNumber |
| 167 |
|
end |
| 168 |
|
end |
| 169 |
|
|
| 170 |
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerAddressExType |
|
@@ 4474-4484 (lines=11) @@
|
| 4471 |
|
xml_accessor :newCreditCard, :as => CreditCardMaskedType |
| 4472 |
|
xml_accessor :oldCreditCard, :as => CreditCardMaskedType |
| 4473 |
|
|
| 4474 |
|
def initialize(customerProfileID = nil, customerPaymentProfileID = nil, firstName = nil, lastName = nil, updateTimeUTC = nil, auReasonCode = nil, reasonDescription = nil, newCreditCard = nil, oldCreditCard = nil) |
| 4475 |
|
@customerProfileID = customerProfileID |
| 4476 |
|
@customerPaymentProfileID = customerPaymentProfileID |
| 4477 |
|
@firstName = firstName |
| 4478 |
|
@lastName = lastName |
| 4479 |
|
@updateTimeUTC = updateTimeUTC |
| 4480 |
|
@auReasonCode = auReasonCode |
| 4481 |
|
@reasonDescription = reasonDescription |
| 4482 |
|
@newCreditCard = newCreditCard |
| 4483 |
|
@oldCreditCard = oldCreditCard |
| 4484 |
|
end |
| 4485 |
|
end |
| 4486 |
|
|
| 4487 |
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}AUDeleteType |
|
@@ 2161-2171 (lines=11) @@
|
| 2158 |
|
xml_accessor :approvedAmount |
| 2159 |
|
xml_accessor :balanceOnCard |
| 2160 |
|
|
| 2161 |
|
def initialize(transId = nil, responseCode = nil, responseToCustomer = nil, authCode = nil, accountNumber = nil, accountType = nil, requestedAmount = nil, approvedAmount = nil, balanceOnCard = nil) |
| 2162 |
|
@transId = transId |
| 2163 |
|
@responseCode = responseCode |
| 2164 |
|
@responseToCustomer = responseToCustomer |
| 2165 |
|
@authCode = authCode |
| 2166 |
|
@accountNumber = accountNumber |
| 2167 |
|
@accountType = accountType |
| 2168 |
|
@requestedAmount = requestedAmount |
| 2169 |
|
@approvedAmount = approvedAmount |
| 2170 |
|
@balanceOnCard = balanceOnCard |
| 2171 |
|
end |
| 2172 |
|
end |
| 2173 |
|
|
| 2174 |
|
xml_accessor :splitTenderPayments, :as => [SplitTenderPayment] |
|
@@ 1533-1543 (lines=11) @@
|
| 1530 |
|
xml_accessor :customerShippingAddressId |
| 1531 |
|
xml_accessor :transId |
| 1532 |
|
|
| 1533 |
|
def initialize(amount = nil, tax = nil, shipping = nil, duty = nil, lineItems = [], customerProfileId = nil, customerPaymentProfileId = nil, customerShippingAddressId = nil, transId = nil) |
| 1534 |
|
@amount = amount |
| 1535 |
|
@tax = tax |
| 1536 |
|
@shipping = shipping |
| 1537 |
|
@duty = duty |
| 1538 |
|
@lineItems = lineItems |
| 1539 |
|
@customerProfileId = customerProfileId |
| 1540 |
|
@customerPaymentProfileId = customerPaymentProfileId |
| 1541 |
|
@customerShippingAddressId = customerShippingAddressId |
| 1542 |
|
@transId = transId |
| 1543 |
|
end |
| 1544 |
|
end |
| 1545 |
|
|
| 1546 |
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}profileTransRefundType |