authorizenet 1.8.9.1 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/authorize_net/api/api_transaction.rb +5 -2
- data/lib/authorize_net/api/constants.yml +1 -0
- data/lib/authorize_net/api/schema.rb +307 -7
- metadata +18 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bdf1e140ef9ceba9e7af5e54f9392b874aa68575
|
4
|
+
data.tar.gz: 8bd9c69c349f8ccacb0babdeb0babba5e63dfa46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 473567d01c3023f36b09021d562ab96220b742272957f511b58831540f31c2c5efd7d55a60150a3d9c21ea921ca0c67ce015b59c1071a7c28568d7609f1d1068
|
7
|
+
data.tar.gz: dbfec7a420a3652410309dcf534a0af6581cc99c6c48d6eefd75c0d708bc647db96c1726e31ef7678c2b0acc05d45dd240216093365507fd8e31570dbc691487
|
@@ -66,7 +66,9 @@ module AuthorizeNet::API
|
|
66
66
|
|
67
67
|
def serialize(object,type)
|
68
68
|
doc = Nokogiri::XML::Document.new
|
69
|
-
doc.root = object.to_xml
|
69
|
+
doc.root = object.to_xml
|
70
|
+
constants = YAML.load_file(File.dirname(__FILE__) + "/constants.yml")
|
71
|
+
clientId = constants['clientId']
|
70
72
|
|
71
73
|
builder = Nokogiri::XML::Builder.new(:encoding => 'utf-8') do |x|
|
72
74
|
x.send(type.to_sym, :xmlns => XML_NAMESPACE) {
|
@@ -74,6 +76,7 @@ module AuthorizeNet::API
|
|
74
76
|
x.name @api_login_id
|
75
77
|
x.transactionKey @api_transaction_key
|
76
78
|
}
|
79
|
+
x.clientId clientId
|
77
80
|
x.send:insert, doc.root.element_children
|
78
81
|
}
|
79
82
|
end
|
@@ -101,4 +104,4 @@ module AuthorizeNet::API
|
|
101
104
|
responseClass.from_xml(xml)
|
102
105
|
end
|
103
106
|
end
|
104
|
-
end
|
107
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
clientId: sdk-ruby-1.9.0
|
@@ -408,6 +408,23 @@ module AuthorizeNet::API
|
|
408
408
|
end
|
409
409
|
end
|
410
410
|
|
411
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentEmvType
|
412
|
+
# emvData - SOAP::SOAPString
|
413
|
+
# emvDescriptor - SOAP::SOAPString
|
414
|
+
# emvVersion - SOAP::SOAPString
|
415
|
+
class PaymentEmvType
|
416
|
+
include ROXML
|
417
|
+
xml_accessor :emvData
|
418
|
+
xml_accessor :emvDescriptor
|
419
|
+
xml_accessor :emvVersion
|
420
|
+
|
421
|
+
def initialize(emvData = nil, emvDescriptor = nil, emvVersion = nil)
|
422
|
+
@emvData = emvData
|
423
|
+
@emvDescriptor = emvDescriptor
|
424
|
+
@emvVersion = emvVersion
|
425
|
+
end
|
426
|
+
end
|
427
|
+
|
411
428
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentSimpleType
|
412
429
|
# creditCard - CreditCardSimpleType
|
413
430
|
# bankAccount - BankAccountType
|
@@ -583,6 +600,7 @@ end
|
|
583
600
|
# encryptedTrackData - EncryptedTrackDataType
|
584
601
|
# payPal - PayPalType
|
585
602
|
# opaqueData - OpaqueDataType
|
603
|
+
# emv - PaymentEmvType
|
586
604
|
class PaymentType
|
587
605
|
include ROXML
|
588
606
|
xml_accessor :creditCard, :as => CreditCardType
|
@@ -591,14 +609,16 @@ end
|
|
591
609
|
xml_accessor :encryptedTrackData, :as => EncryptedTrackDataType
|
592
610
|
xml_accessor :payPal, :as => PayPalType
|
593
611
|
xml_accessor :opaqueData, :as => OpaqueDataType
|
612
|
+
xml_accessor :emv, :as => PaymentEmvType
|
594
613
|
|
595
|
-
def initialize(creditCard = nil, bankAccount = nil, trackData = nil, encryptedTrackData = nil, payPal = nil, opaqueData = nil)
|
614
|
+
def initialize(creditCard = nil, bankAccount = nil, trackData = nil, encryptedTrackData = nil, payPal = nil, opaqueData = nil, emv = nil)
|
596
615
|
@creditCard = creditCard
|
597
616
|
@bankAccount = bankAccount
|
598
617
|
@trackData = trackData
|
599
618
|
@encryptedTrackData = encryptedTrackData
|
600
619
|
@payPal = payPal
|
601
620
|
@opaqueData = opaqueData
|
621
|
+
@emv = emv
|
602
622
|
end
|
603
623
|
end
|
604
624
|
|
@@ -1877,8 +1897,31 @@ end
|
|
1877
1897
|
# mobileDeviceId - SOAP::SOAPString
|
1878
1898
|
# returnedItems - ArrayOfReturnedItem
|
1879
1899
|
# solution - SolutionType
|
1900
|
+
# emvDetails - TransactionDetailsType::EmvDetails
|
1880
1901
|
class TransactionDetailsType
|
1881
1902
|
include ROXML
|
1903
|
+
# inner class for member: EmvDetails
|
1904
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}emvDetails
|
1905
|
+
# tagId - SOAP::SOAPString
|
1906
|
+
# data - SOAP::SOAPString
|
1907
|
+
class EmvDetails
|
1908
|
+
include ROXML
|
1909
|
+
class Tag
|
1910
|
+
include ROXML
|
1911
|
+
xml_accessor :tagId
|
1912
|
+
xml_accessor :data
|
1913
|
+
|
1914
|
+
def initialize(tagId = nil, data = nil)
|
1915
|
+
@tagId = tagId
|
1916
|
+
@data = data
|
1917
|
+
end
|
1918
|
+
end
|
1919
|
+
xml_accessor :tag, :as => Tag
|
1920
|
+
|
1921
|
+
def initialize(tag = nil)
|
1922
|
+
@tag = tag
|
1923
|
+
end
|
1924
|
+
end
|
1882
1925
|
xml_accessor :transId
|
1883
1926
|
xml_accessor :refTransId
|
1884
1927
|
xml_accessor :splitTenderId
|
@@ -1918,8 +1961,9 @@ end
|
|
1918
1961
|
xml_accessor :mobileDeviceId
|
1919
1962
|
xml_accessor :returnedItems, :as => ArrayOfReturnedItem
|
1920
1963
|
xml_accessor :solution
|
1964
|
+
xml_accessor :emvDetails, :as => EmvDetails
|
1921
1965
|
|
1922
|
-
def initialize(transId = nil, refTransId = nil, splitTenderId = nil, submitTimeUTC = nil, submitTimeLocal = nil, transactionType = nil, transactionStatus = nil, responseCode = nil, responseReasonCode = nil, subscription = nil, responseReasonDescription = nil, authCode = nil, aVSResponse = nil, cardCodeResponse = nil, cAVVResponse = nil, fDSFilterAction = nil, fDSFilters = nil, batch = nil, order = nil, requestedAmount = nil, authAmount = nil, settleAmount = nil, tax = nil, shipping = nil, duty = nil, lineItems = nil, prepaidBalanceRemaining = nil, taxExempt = nil, payment = nil, customer = nil, billTo = nil, shipTo = nil, recurringBilling = nil, customerIP = nil, product = nil, marketType = nil, mobileDeviceId = nil, returnedItems = nil, solution = nil)
|
1966
|
+
def initialize(transId = nil, refTransId = nil, splitTenderId = nil, submitTimeUTC = nil, submitTimeLocal = nil, transactionType = nil, transactionStatus = nil, responseCode = nil, responseReasonCode = nil, subscription = nil, responseReasonDescription = nil, authCode = nil, aVSResponse = nil, cardCodeResponse = nil, cAVVResponse = nil, fDSFilterAction = nil, fDSFilters = nil, batch = nil, order = nil, requestedAmount = nil, authAmount = nil, settleAmount = nil, tax = nil, shipping = nil, duty = nil, lineItems = nil, prepaidBalanceRemaining = nil, taxExempt = nil, payment = nil, customer = nil, billTo = nil, shipTo = nil, recurringBilling = nil, customerIP = nil, product = nil, marketType = nil, mobileDeviceId = nil, returnedItems = nil, solution = nil, emvDetails = nil)
|
1923
1967
|
@transId = transId
|
1924
1968
|
@refTransId = refTransId
|
1925
1969
|
@splitTenderId = splitTenderId
|
@@ -1959,6 +2003,7 @@ end
|
|
1959
2003
|
@mobileDeviceId = mobileDeviceId
|
1960
2004
|
@returnedItems = returnedItems
|
1961
2005
|
@solution = solution
|
2006
|
+
@emvDetails = emvDetails
|
1962
2007
|
end
|
1963
2008
|
end
|
1964
2009
|
|
@@ -1976,6 +2021,23 @@ end
|
|
1976
2021
|
end
|
1977
2022
|
end
|
1978
2023
|
|
2024
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}emvTag
|
2025
|
+
# id - SOAP::SOAPString
|
2026
|
+
# value - SOAP::SOAPString
|
2027
|
+
# formatted - SOAP::SOAPString
|
2028
|
+
class EmvTag
|
2029
|
+
include ROXML
|
2030
|
+
xml_accessor :name
|
2031
|
+
xml_accessor :value
|
2032
|
+
xml_accessor :formatted
|
2033
|
+
|
2034
|
+
def initialize(id = nil, value = nil, formatted = nil)
|
2035
|
+
@id = id
|
2036
|
+
@value = value
|
2037
|
+
@formatted = formatted
|
2038
|
+
end
|
2039
|
+
end
|
2040
|
+
|
1979
2041
|
|
1980
2042
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}transactionResponse
|
1981
2043
|
# responseCode - SOAP::SOAPString
|
@@ -1997,7 +2059,9 @@ end
|
|
1997
2059
|
# splitTenderPayments - TransactionResponse::SplitTenderPayments
|
1998
2060
|
# userFields - TransactionResponse::UserFields
|
1999
2061
|
# shipTo - NameAndAddressType
|
2000
|
-
# secureAcceptance - TransactionResponse::
|
2062
|
+
# secureAcceptance - TransactionResponse::secureAcceptance
|
2063
|
+
# emvResponse - TransactionResponse::emvResponse
|
2064
|
+
# transHashSha2 - SOAP::SOAPString
|
2001
2065
|
class TransactionResponse
|
2002
2066
|
include ROXML
|
2003
2067
|
# inner class for member: prePaidCard
|
@@ -2118,14 +2182,40 @@ end
|
|
2118
2182
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}secureAcceptance
|
2119
2183
|
# secureAcceptanceUrl - SOAP::SOAPString
|
2120
2184
|
# payerID - SOAP::SOAPString
|
2185
|
+
# payerEmail - SOAP::SOAPString
|
2121
2186
|
class SecureAcceptance
|
2122
2187
|
include ROXML
|
2123
2188
|
xml_accessor :SecureAcceptanceUrl
|
2124
2189
|
xml_accessor :PayerID
|
2190
|
+
xml_accessor :PayerEmail
|
2125
2191
|
|
2126
|
-
def initialize(secureAcceptanceUrl = nil, payerID = nil)
|
2192
|
+
def initialize(secureAcceptanceUrl = nil, payerID = nil, payerEmail = nil)
|
2127
2193
|
@SecureAcceptanceUrl = secureAcceptanceUrl
|
2128
2194
|
@PayerID = payerID
|
2195
|
+
@PayerEmail = payerEmail
|
2196
|
+
end
|
2197
|
+
end
|
2198
|
+
|
2199
|
+
# inner class for member: emvResponse
|
2200
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}emvResponse
|
2201
|
+
class EmvResponse
|
2202
|
+
include ROXML
|
2203
|
+
|
2204
|
+
class Tags
|
2205
|
+
include ROXML
|
2206
|
+
xml_accessor :tag, :as => [EmvTag]
|
2207
|
+
|
2208
|
+
def initialize(tag = nil)
|
2209
|
+
@tag = tag
|
2210
|
+
end
|
2211
|
+
end
|
2212
|
+
|
2213
|
+
xml_accessor :tlvData
|
2214
|
+
xml_accessor :tags, :as => [Tags]
|
2215
|
+
|
2216
|
+
def initialize(tlvData = nil, tags = nil)
|
2217
|
+
@tlvData = tlvData
|
2218
|
+
@tags = tags
|
2129
2219
|
end
|
2130
2220
|
end
|
2131
2221
|
|
@@ -2149,8 +2239,10 @@ end
|
|
2149
2239
|
xml_accessor :userFields, :as => UserFields
|
2150
2240
|
xml_accessor :shipTo, :as => NameAndAddressType
|
2151
2241
|
xml_accessor :secureAcceptance, :as => SecureAcceptance
|
2242
|
+
xml_accessor :emvResponse, :as => EmvResponse
|
2243
|
+
xml_accessor :transHashSha2
|
2152
2244
|
|
2153
|
-
def initialize(responseCode = nil, rawResponseCode = nil, authCode = nil, avsResultCode = nil, cvvResultCode = nil, cavvResultCode = nil, transId = nil, refTransID = nil, transHash = nil, testRequest = nil, accountNumber = nil, accountType = nil, splitTenderId = nil, prePaidCard = nil, messages = nil, errors = nil, splitTenderPayments = nil, userFields = nil, shipTo = nil, secureAcceptance = nil)
|
2245
|
+
def initialize(responseCode = nil, rawResponseCode = nil, authCode = nil, avsResultCode = nil, cvvResultCode = nil, cavvResultCode = nil, transId = nil, refTransID = nil, transHash = nil, testRequest = nil, accountNumber = nil, accountType = nil, splitTenderId = nil, prePaidCard = nil, messages = nil, errors = nil, splitTenderPayments = nil, userFields = nil, shipTo = nil, secureAcceptance = nil, emvResponse = nil, transHashSha2 = nil)
|
2154
2246
|
@responseCode = responseCode
|
2155
2247
|
@rawResponseCode = rawResponseCode
|
2156
2248
|
@authCode = authCode
|
@@ -2171,19 +2263,24 @@ end
|
|
2171
2263
|
@userFields = userFields
|
2172
2264
|
@shipTo = shipTo
|
2173
2265
|
@secureAcceptance = secureAcceptance
|
2266
|
+
@emvResponse = emvResponse
|
2267
|
+
@transHashSha2 = transHashSha2
|
2174
2268
|
end
|
2175
2269
|
end
|
2176
2270
|
|
2177
2271
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ANetApiRequest
|
2178
2272
|
# merchantAuthentication - MerchantAuthenticationType
|
2273
|
+
# clientId - SOAP::SOAPString
|
2179
2274
|
# refId - SOAP::SOAPString
|
2180
2275
|
class ANetApiRequest
|
2181
2276
|
include ROXML
|
2182
2277
|
xml_accessor :merchantAuthentication
|
2278
|
+
xml_accessor :clientId
|
2183
2279
|
xml_accessor :refId
|
2184
2280
|
|
2185
|
-
def initialize(merchantAuthentication = nil, refId = nil)
|
2281
|
+
def initialize(merchantAuthentication = nil, clientId = nil, refId = nil)
|
2186
2282
|
@merchantAuthentication = merchantAuthentication
|
2283
|
+
@clientId = clientId
|
2187
2284
|
@refId = refId
|
2188
2285
|
end
|
2189
2286
|
end
|
@@ -2998,16 +3095,19 @@ end
|
|
2998
3095
|
# merchantAuthentication - MerchantAuthenticationType
|
2999
3096
|
# refId - SOAP::SOAPString
|
3000
3097
|
# customerProfileId - (any)
|
3098
|
+
# unmaskExpirationDate - SOAP::SOAPBoolean
|
3001
3099
|
class GetCustomerProfileRequest
|
3002
3100
|
include ROXML
|
3003
3101
|
xml_accessor :merchantAuthentication
|
3004
3102
|
xml_accessor :refId
|
3005
3103
|
xml_accessor :customerProfileId
|
3104
|
+
xml_accessor :unmaskExpirationDate
|
3006
3105
|
|
3007
|
-
def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil)
|
3106
|
+
def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, unmaskExpirationDate = nil)
|
3008
3107
|
@merchantAuthentication = merchantAuthentication
|
3009
3108
|
@refId = refId
|
3010
3109
|
@customerProfileId = customerProfileId
|
3110
|
+
@unmaskExpirationDate = unmaskExpirationDate
|
3011
3111
|
end
|
3012
3112
|
end
|
3013
3113
|
|
@@ -4332,4 +4432,204 @@ end
|
|
4332
4432
|
end
|
4333
4433
|
end
|
4334
4434
|
|
4435
|
+
|
4436
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}AUResponseType
|
4437
|
+
class AUResponseType
|
4438
|
+
include ROXML
|
4439
|
+
xml_accessor :auReasonCode
|
4440
|
+
xml_accessor :profileCount
|
4441
|
+
xml_accessor :reasonDescription
|
4442
|
+
|
4443
|
+
def initialize(auReasonCode = nil, profileCount = nil, reasonDescription = nil)
|
4444
|
+
@auReasonCode = auReasonCode
|
4445
|
+
@profileCount = profileCount
|
4446
|
+
@reasonDescription = reasonDescription
|
4447
|
+
end
|
4448
|
+
end
|
4449
|
+
|
4450
|
+
|
4451
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfAUResponseType
|
4452
|
+
class ArrayOfAUResponseType < ::Array
|
4453
|
+
include ROXML
|
4454
|
+
xml_accessor :auResponse, :as => [AUResponseType]
|
4455
|
+
|
4456
|
+
def initialize(auResponse = [])
|
4457
|
+
@auResponse = auResponse
|
4458
|
+
end
|
4459
|
+
end
|
4460
|
+
|
4461
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}AUUpdateType
|
4462
|
+
class AUUpdateType
|
4463
|
+
include ROXML
|
4464
|
+
xml_accessor :customerProfileID
|
4465
|
+
xml_accessor :customerPaymentProfileID
|
4466
|
+
xml_accessor :firstName
|
4467
|
+
xml_accessor :lastName
|
4468
|
+
xml_accessor :updateTimeUTC
|
4469
|
+
xml_accessor :auReasonCode
|
4470
|
+
xml_accessor :reasonDescription
|
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
|
4488
|
+
class AUDeleteType
|
4489
|
+
include ROXML
|
4490
|
+
xml_accessor :customerProfileID
|
4491
|
+
xml_accessor :customerPaymentProfileID
|
4492
|
+
xml_accessor :firstName
|
4493
|
+
xml_accessor :lastName
|
4494
|
+
xml_accessor :updateTimeUTC
|
4495
|
+
xml_accessor :auReasonCode
|
4496
|
+
xml_accessor :reasonDescription
|
4497
|
+
xml_accessor :creditCard, :as => CreditCardMaskedType
|
4498
|
+
|
4499
|
+
def initialize(customerProfileID = nil, customerPaymentProfileID = nil, firstName = nil, lastName = nil, updateTimeUTC = nil, auReasonCode = nil, reasonDescription = nil, creditCard = nil)
|
4500
|
+
@customerProfileID = customerProfileID
|
4501
|
+
@customerPaymentProfileID = customerPaymentProfileID
|
4502
|
+
@firstName = firstName
|
4503
|
+
@lastName = lastName
|
4504
|
+
@updateTimeUTC = updateTimeUTC
|
4505
|
+
@auReasonCode = auReasonCode
|
4506
|
+
@reasonDescription = reasonDescription
|
4507
|
+
@creditCard = creditCard
|
4508
|
+
end
|
4509
|
+
end
|
4510
|
+
|
4511
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}AUDetailsType
|
4512
|
+
class AUDetailsType
|
4513
|
+
include ROXML
|
4514
|
+
xml_accessor :customerProfileID
|
4515
|
+
xml_accessor :customerPaymentProfileID
|
4516
|
+
xml_accessor :firstName
|
4517
|
+
xml_accessor :lastName
|
4518
|
+
xml_accessor :updateTimeUTC
|
4519
|
+
xml_accessor :auReasonCode
|
4520
|
+
xml_accessor :reasonDescription
|
4521
|
+
|
4522
|
+
def initialize(customerProfileID = nil, customerPaymentProfileID = nil, firstName = nil, lastName = nil, updateTimeUTC = nil, auReasonCode = nil, reasonDescription = nil)
|
4523
|
+
@customerProfileID = customerProfileID
|
4524
|
+
@customerPaymentProfileID = customerPaymentProfileID
|
4525
|
+
@firstName = firstName
|
4526
|
+
@lastName = lastName
|
4527
|
+
@updateTimeUTC = updateTimeUTC
|
4528
|
+
@auReasonCode = auReasonCode
|
4529
|
+
@reasonDescription = reasonDescription
|
4530
|
+
end
|
4531
|
+
end
|
4532
|
+
|
4533
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ListOfAUDetailsType
|
4534
|
+
class ListOfAUDetailsType
|
4535
|
+
include ROXML
|
4536
|
+
xml_accessor :auUpdate, :as => AUUpdateType
|
4537
|
+
xml_accessor :auDelete, :as => AUDeleteType
|
4538
|
+
|
4539
|
+
def initialize(auUpdate = nil, auDelete = nil)
|
4540
|
+
@auUpdate = auUpdate
|
4541
|
+
@auDelete = auDelete
|
4542
|
+
end
|
4543
|
+
end
|
4544
|
+
|
4545
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}AUJobTypeEnum
|
4546
|
+
class AUJobTypeEnum < ::String
|
4547
|
+
All = BankAccountTypeEnum.new("all")
|
4548
|
+
Updates = BankAccountTypeEnum.new("updates")
|
4549
|
+
Deletes = BankAccountTypeEnum.new("deletes")
|
4550
|
+
end
|
4551
|
+
|
4552
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}GetAUJobSummaryRequest
|
4553
|
+
# refId - SOAP::SOAPString
|
4554
|
+
# messages - MessagesType
|
4555
|
+
# month - SOAP::SOAPString
|
4556
|
+
class GetAUJobSummaryRequest
|
4557
|
+
include ROXML
|
4558
|
+
xml_accessor :merchantAuthentication, :as => MerchantAuthenticationType
|
4559
|
+
xml_accessor :refId
|
4560
|
+
xml_accessor :month
|
4561
|
+
|
4562
|
+
def initialize(merchantAuthentication = nil, refId = nil, month = nil)
|
4563
|
+
@merchantAuthentication = merchantAuthentication
|
4564
|
+
@refId = refId
|
4565
|
+
@month = month
|
4566
|
+
end
|
4567
|
+
end
|
4568
|
+
|
4569
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}GetAUJobSummaryResponse
|
4570
|
+
# refId - SOAP::SOAPString
|
4571
|
+
# messages - MessagesType
|
4572
|
+
# sessionToken - SOAP::SOAPString
|
4573
|
+
# auSummary - ARBSubscriptionMaskedType
|
4574
|
+
class GetAUJobSummaryResponse
|
4575
|
+
include ROXML
|
4576
|
+
xml_accessor :refId
|
4577
|
+
xml_accessor :messages, :as => MessagesType
|
4578
|
+
xml_accessor :sessionToken
|
4579
|
+
xml_accessor :auSummary, :as => ArrayOfAUResponseType
|
4580
|
+
|
4581
|
+
def initialize(refId = nil, messages = nil, sessionToken = nil, auSummary = nil)
|
4582
|
+
@refId = refId
|
4583
|
+
@messages = messages
|
4584
|
+
@sessionToken = sessionToken
|
4585
|
+
@auSummary = auSummary
|
4586
|
+
end
|
4587
|
+
end
|
4588
|
+
|
4589
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}GetAUJobDetailsRequest
|
4590
|
+
# refId - SOAP::SOAPString
|
4591
|
+
# messages - MessagesType
|
4592
|
+
# month - SOAP::SOAPString
|
4593
|
+
# modifiedTypeFilter - AUJobTypeEnum
|
4594
|
+
# paging - Paging
|
4595
|
+
class GetAUJobDetailsRequest
|
4596
|
+
include ROXML
|
4597
|
+
xml_accessor :merchantAuthentication, :as => MerchantAuthenticationType
|
4598
|
+
xml_accessor :refId
|
4599
|
+
xml_accessor :month
|
4600
|
+
xml_accessor :modifiedTypeFilter
|
4601
|
+
xml_accessor :paging, :as => Paging
|
4602
|
+
|
4603
|
+
def initialize(merchantAuthentication = nil, refId = nil, month = nil, modifiedTypeFilter = nil, paging = nil)
|
4604
|
+
@merchantAuthentication = merchantAuthentication
|
4605
|
+
@refId = refId
|
4606
|
+
@month = month
|
4607
|
+
@modifiedTypeFilter = modifiedTypeFilter
|
4608
|
+
@paging = paging
|
4609
|
+
end
|
4610
|
+
end
|
4611
|
+
|
4612
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}GetAUJobDetailsResponse
|
4613
|
+
# refId - SOAP::SOAPString
|
4614
|
+
# messages - MessagesType
|
4615
|
+
# sessionToken - SOAP::SOAPString
|
4616
|
+
# totalNumInResultSet - ListOfAUDetailsType
|
4617
|
+
# auDetails - SOAP::SOAPInt
|
4618
|
+
class GetAUJobDetailsResponse
|
4619
|
+
include ROXML
|
4620
|
+
xml_accessor :refId
|
4621
|
+
xml_accessor :messages, :as => MessagesType
|
4622
|
+
xml_accessor :sessionToken
|
4623
|
+
xml_accessor :totalNumInResultSet, :as => Integer
|
4624
|
+
xml_accessor :auDetails, :as => [ListOfAUDetailsType]
|
4625
|
+
|
4626
|
+
def initialize(refId = nil, messages = nil, sessionToken = nil, totalNumInResultSet = nil, auDetails = [])
|
4627
|
+
@refId = refId
|
4628
|
+
@messages = messages
|
4629
|
+
@sessionToken = sessionToken
|
4630
|
+
@totalNumInResultSet = totalNumInResultSet
|
4631
|
+
@auDetails = auDetails
|
4632
|
+
end
|
4633
|
+
end
|
4634
|
+
|
4335
4635
|
end
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: authorizenet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Authorize.Net
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: activesupport
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 4.2.6
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 4.2.6
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: nokogiri
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -92,6 +106,7 @@ files:
|
|
92
106
|
- lib/authorize_net/aim/response.rb
|
93
107
|
- lib/authorize_net/aim/transaction.rb
|
94
108
|
- lib/authorize_net/api/api_transaction.rb
|
109
|
+
- lib/authorize_net/api/constants.yml
|
95
110
|
- lib/authorize_net/api/schema.rb
|
96
111
|
- lib/authorize_net/api/transaction.rb
|
97
112
|
- lib/authorize_net/arb/fields.rb
|
@@ -166,7 +181,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
166
181
|
requirements:
|
167
182
|
- - ">="
|
168
183
|
- !ruby/object:Gem::Version
|
169
|
-
version:
|
184
|
+
version: 2.2.5
|
170
185
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
171
186
|
requirements:
|
172
187
|
- - ">="
|