authorizenet 1.9.1 → 1.9.2

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 CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 49144b3fce4303fc413bed53e97f83747d4ed522
4
- data.tar.gz: 371cf44f76a71968b02185df429ba76589781547
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NzlmZWI2MzUyOTdhZTcwYTJmZWE4MjgwNzQ5ODFkODdlZDZiMDRjYw==
5
+ data.tar.gz: !binary |-
6
+ MGM4ZGE3NDAwZDFjOGE4NWY5NmQzY2UyZjAwZTYxNmJhM2FmNGZmYQ==
5
7
  SHA512:
6
- metadata.gz: 14d846f6a2f0f73c4507b5bb2bb15938aa4bc409f2a504b7c7b8dd5faafd2dbf1d31859665b2c096836d2a5ffc29923c7e94ece81a9441bd9dc3e1fa55a89fcf
7
- data.tar.gz: 5f962c7b14a65abf16a48de15dd7809a962a9bba4ee4255c8bd618a2b4437c8cca32fa74abd068515ebf1ca15b158b41ff61a7c37790c7fda5ab6d4f44427e72
8
+ metadata.gz: !binary |-
9
+ ZDUzYWMzMmFkNzMzZTRlOGVmMGJlNjkwYjM1N2Q0YWFmMjBjMmQxNDIzNDBh
10
+ MTFhNmVkMjUyYTQ2MGY1YzZjZThhZTYyNTU1ZTJjN2RmMGE5NjZiM2Y5ZGZh
11
+ N2VhNDYzYWYxZjYxZjVhOTJjMDUwMmU0MjM4MmM2MWFkNDU0Yjg=
12
+ data.tar.gz: !binary |-
13
+ OWU3MmY0ZGZiODQ2MDdhOGQ5ZTJhMDc5ZmZmY2NkZTY3ZjBhZGFlY2Q1Zjc1
14
+ NGEwZWNmNDQ0ODg0NDFiOTZiYmZhNTM2MjJkZTE3NjYzZGQ2MTI2NGY0ZThh
15
+ ZjVhZmFkZTM2NTAxMzEwYmQ4ZThmY2Y4NTYzZTgzNmY0N2M1MTY=
@@ -36,6 +36,7 @@ module AuthorizeNet::API
36
36
  API_GET_TRANSACTION_DETAILS = "getTransactionDetailsRequest"
37
37
  API_GET_UNSETTLED_TRANSACTION_LIST = "getUnsettledTransactionListRequest"
38
38
  API_GET_BATCH_STATISTICS = "getBatchStatisticsRequest"
39
+ API_GET_TRANSACTION_LIST_FOR_CUSTOMER = "getTransactionListForCustomerRequest"
39
40
 
40
41
  API_GET_HOSTED_PROFILE_PAGE = "getHostedProfilePageRequest"
41
42
 
@@ -1 +1 @@
1
- clientId: sdk-ruby-1.9.1
1
+ clientId: sdk-ruby-1.9.2
@@ -1678,6 +1678,8 @@ end
1678
1678
  # mobileDeviceId - SOAP::SOAPString
1679
1679
  # subscription - SubscriptionPaymentType
1680
1680
  # hasReturnedItems - SOAP::SOAPBoolean
1681
+ # fraudInformation - FraudInformationType
1682
+ # profile - CustomerProfileIdType
1681
1683
  class TransactionSummaryType
1682
1684
  include ROXML
1683
1685
  xml_accessor :transId
@@ -1696,8 +1698,9 @@ end
1696
1698
  xml_accessor :subscription
1697
1699
  xml_accessor :hasReturnedItems
1698
1700
  xml_accessor :fraudInformation
1701
+ xml_accessor :profile, :as => CustomerProfileIdType
1699
1702
 
1700
- def initialize(transId = nil, submitTimeUTC = nil, submitTimeLocal = nil, transactionStatus = nil, invoiceNumber = nil, firstName = nil, lastName = nil, accountType = nil, accountNumber = nil, settleAmount = nil, marketType = nil, product = nil, mobileDeviceId = nil, subscription = nil, hasReturnedItems = nil, fraudInformation = nil)
1703
+ def initialize(transId = nil, submitTimeUTC = nil, submitTimeLocal = nil, transactionStatus = nil, invoiceNumber = nil, firstName = nil, lastName = nil, accountType = nil, accountNumber = nil, settleAmount = nil, marketType = nil, product = nil, mobileDeviceId = nil, subscription = nil, hasReturnedItems = nil, fraudInformation = nil, profile = nil)
1701
1704
  @transId = transId
1702
1705
  @submitTimeUTC = submitTimeUTC
1703
1706
  @submitTimeLocal = submitTimeLocal
@@ -1714,6 +1717,7 @@ end
1714
1717
  @subscription = subscription
1715
1718
  @hasReturnedItems = hasReturnedItems
1716
1719
  @fraudInformation = fraudInformation
1720
+ @profile = profile
1717
1721
  end
1718
1722
  end
1719
1723
 
@@ -1926,6 +1930,7 @@ end
1926
1930
  # returnedItems - ArrayOfReturnedItem
1927
1931
  # solution - SolutionType
1928
1932
  # emvDetails - TransactionDetailsType::EmvDetails
1933
+ # profile - CustomerProfileIdType
1929
1934
  class TransactionDetailsType
1930
1935
  include ROXML
1931
1936
  # inner class for member: EmvDetails
@@ -1990,8 +1995,9 @@ end
1990
1995
  xml_accessor :returnedItems, :as => ArrayOfReturnedItem
1991
1996
  xml_accessor :solution
1992
1997
  xml_accessor :emvDetails, :as => EmvDetails
1998
+ xml_accessor :profile, :as => CustomerProfileIdType
1993
1999
 
1994
- 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)
2000
+ 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, profile = nil)
1995
2001
  @transId = transId
1996
2002
  @refTransId = refTransId
1997
2003
  @splitTenderId = splitTenderId
@@ -2032,6 +2038,7 @@ end
2032
2038
  @returnedItems = returnedItems
2033
2039
  @solution = solution
2034
2040
  @emvDetails = emvDetails
2041
+ @profile = profile
2035
2042
  end
2036
2043
  end
2037
2044
 
@@ -2090,6 +2097,7 @@ end
2090
2097
  # secureAcceptance - TransactionResponse::secureAcceptance
2091
2098
  # emvResponse - TransactionResponse::emvResponse
2092
2099
  # transHashSha2 - SOAP::SOAPString
2100
+ # profile - CustomerProfileIdType
2093
2101
  class TransactionResponse
2094
2102
  include ROXML
2095
2103
  # inner class for member: prePaidCard
@@ -2269,8 +2277,9 @@ end
2269
2277
  xml_accessor :secureAcceptance, :as => SecureAcceptance
2270
2278
  xml_accessor :emvResponse, :as => EmvResponse
2271
2279
  xml_accessor :transHashSha2
2280
+ xml_accessor :profile, :as => CustomerProfileIdType
2272
2281
 
2273
- 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)
2282
+ 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, profile = nil)
2274
2283
  @responseCode = responseCode
2275
2284
  @rawResponseCode = rawResponseCode
2276
2285
  @authCode = authCode
@@ -2293,6 +2302,7 @@ end
2293
2302
  @secureAcceptance = secureAcceptance
2294
2303
  @emvResponse = emvResponse
2295
2304
  @transHashSha2 = transHashSha2
2305
+ @profile = profile
2296
2306
  end
2297
2307
  end
2298
2308
 
@@ -3141,18 +3151,24 @@ end
3141
3151
  # merchantAuthentication - MerchantAuthenticationType
3142
3152
  # refId - SOAP::SOAPString
3143
3153
  # customerProfileId - (any)
3154
+ # merchantCustomerId - SOAP::SOAPString
3155
+ # email - SOAP::SOAPString
3144
3156
  # unmaskExpirationDate - SOAP::SOAPBoolean
3145
3157
  class GetCustomerProfileRequest
3146
3158
  include ROXML
3147
3159
  xml_accessor :merchantAuthentication
3148
3160
  xml_accessor :refId
3149
3161
  xml_accessor :customerProfileId
3162
+ xml_accessor :merchantCustomerId
3163
+ xml_accessor :email
3150
3164
  xml_accessor :unmaskExpirationDate
3151
3165
 
3152
- def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, unmaskExpirationDate = nil)
3166
+ def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, unmaskExpirationDate = nil, merchantCustomerId = nil, email = nil)
3153
3167
  @merchantAuthentication = merchantAuthentication
3154
3168
  @refId = refId
3155
3169
  @customerProfileId = customerProfileId
3170
+ @merchantCustomerId = merchantCustomerId
3171
+ @email = email
3156
3172
  @unmaskExpirationDate = unmaskExpirationDate
3157
3173
  end
3158
3174
  end
@@ -3677,18 +3693,24 @@ end
3677
3693
  # messages - MessagesType
3678
3694
  # sessionToken - SOAP::SOAPString
3679
3695
  # transaction - TransactionDetailsType
3696
+ # clientId - SOAP::SOAPString
3697
+ # transrefId - SOAP::SOAPString
3680
3698
  class GetTransactionDetailsResponse
3681
3699
  include ROXML
3682
3700
  xml_accessor :refId
3683
3701
  xml_accessor :messages, :as => MessagesType
3684
3702
  xml_accessor :sessionToken
3685
3703
  xml_accessor :transaction, :as => TransactionDetailsType
3704
+ xml_accessor :clientId
3705
+ xml_accessor :transrefId
3686
3706
 
3687
- def initialize(refId = nil, messages = nil, sessionToken = nil, transaction = nil)
3707
+ def initialize(refId = nil, messages = nil, sessionToken = nil, transaction = nil, clientId = nil, transrefId = nil)
3688
3708
  @refId = refId
3689
3709
  @messages = messages
3690
3710
  @sessionToken = sessionToken
3691
3711
  @transaction = transaction
3712
+ @clientId = clientId
3713
+ @transrefId = transrefId
3692
3714
  end
3693
3715
  end
3694
3716
 
@@ -3922,7 +3944,33 @@ end
3922
3944
  @totalNumInResultSet = totalNumInResultSet
3923
3945
  end
3924
3946
  end
3947
+
3948
+ # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getTransactionListForCustomerRequest
3949
+ # merchantAuthentication - MerchantAuthenticationType
3950
+ # refId - SOAP::SOAPString
3951
+ # customerProfileId - SOAP::SOAPString
3952
+ # customerPaymentProfileId - SOAP::SOAPString
3953
+ # sorting - TransactionListSorting
3954
+ # paging - Paging
3955
+ class GetTransactionListForCustomerRequest
3956
+ include ROXML
3957
+ xml_accessor :merchantAuthentication
3958
+ xml_accessor :refId
3959
+ xml_accessor :customerProfileId
3960
+ xml_accessor :customerPaymentProfileId
3961
+ xml_accessor :sorting, :as => TransactionListSorting
3962
+ xml_accessor :paging, :as => Paging
3925
3963
 
3964
+ def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, customerPaymentProfileId = nil, sorting = nil, paging = nil)
3965
+ @merchantAuthentication = merchantAuthentication
3966
+ @refId = refId
3967
+ @customerProfileId = customerProfileId
3968
+ @customerPaymentProfileId = customerPaymentProfileId
3969
+ @sorting = sorting
3970
+ @paging = paging
3971
+ end
3972
+ end
3973
+
3926
3974
  # {AnetApi/xml/v1/schema/AnetApiSchema.xsd}mobileDeviceRegistrationRequest
3927
3975
  # merchantAuthentication - MerchantAuthenticationType
3928
3976
  # refId - SOAP::SOAPString
@@ -4930,4 +4978,5 @@ end
4930
4978
  @token = token
4931
4979
  end
4932
4980
  end
4981
+
4933
4982
  end
@@ -248,5 +248,9 @@ module AuthorizeNet::API
248
248
  make_request(request,UpdateHeldTransactionResponse,Type::API_UDPATE_HELD_TRANSACTION)
249
249
  end
250
250
 
251
+ def get_transaction_list_for_customer(request)
252
+ make_request(request,GetTransactionListResponse,Type::API_GET_TRANSACTION_LIST_FOR_CUSTOMER)
253
+ end
254
+
251
255
  end
252
256
  end
metadata CHANGED
@@ -1,47 +1,47 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authorizenet
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.1
4
+ version: 1.9.2
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-24 00:00:00.000000000 Z
11
+ date: 2017-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - '='
18
18
  - !ruby/object:Gem::Version
19
19
  version: 4.2.6
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - '='
25
25
  - !ruby/object:Gem::Version
26
26
  version: 4.2.6
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: nokogiri
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.6'
34
- - - ">="
34
+ - - ! '>='
35
35
  - !ruby/object:Gem::Version
36
36
  version: 1.6.4
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
- - - "~>"
41
+ - - ~>
42
42
  - !ruby/object:Gem::Version
43
43
  version: '1.6'
44
- - - ">="
44
+ - - ! '>='
45
45
  - !ruby/object:Gem::Version
46
46
  version: 1.6.4
47
47
  - !ruby/object:Gem::Dependency
@@ -62,34 +62,34 @@ dependencies:
62
62
  name: rake
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - "~>"
65
+ - - ~>
66
66
  - !ruby/object:Gem::Version
67
67
  version: '0.8'
68
- - - ">="
68
+ - - ! '>='
69
69
  - !ruby/object:Gem::Version
70
70
  version: 0.8.7
71
71
  type: :development
72
72
  prerelease: false
73
73
  version_requirements: !ruby/object:Gem::Requirement
74
74
  requirements:
75
- - - "~>"
75
+ - - ~>
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0.8'
78
- - - ">="
78
+ - - ! '>='
79
79
  - !ruby/object:Gem::Version
80
80
  version: 0.8.7
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: rspec
83
83
  requirement: !ruby/object:Gem::Requirement
84
84
  requirements:
85
- - - "~>"
85
+ - - ~>
86
86
  - !ruby/object:Gem::Version
87
87
  version: '2.1'
88
88
  type: :development
89
89
  prerelease: false
90
90
  version_requirements: !ruby/object:Gem::Requirement
91
91
  requirements:
92
- - - "~>"
92
+ - - ~>
93
93
  - !ruby/object:Gem::Version
94
94
  version: '2.1'
95
95
  description: Authorize.Net SDK includes standard payments, recurring billing, and
@@ -179,17 +179,17 @@ require_paths:
179
179
  - lib
180
180
  required_ruby_version: !ruby/object:Gem::Requirement
181
181
  requirements:
182
- - - ">="
182
+ - - ! '>='
183
183
  - !ruby/object:Gem::Version
184
184
  version: 2.1.0
185
185
  required_rubygems_version: !ruby/object:Gem::Requirement
186
186
  requirements:
187
- - - ">="
187
+ - - ! '>='
188
188
  - !ruby/object:Gem::Version
189
189
  version: 1.3.6
190
190
  requirements: []
191
191
  rubyforge_project:
192
- rubygems_version: 2.5.1
192
+ rubygems_version: 2.6.8
193
193
  signing_key:
194
194
  specification_version: 4
195
195
  summary: Authorize.Net Payments SDK