authorizenet 1.8.5 → 1.8.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/authorize_net/api/api_transaction.rb +32 -1
- data/lib/authorize_net/api/transaction.rb +120 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1eefa2bcecbea6cc2fac2131d4637943936a3026
|
4
|
+
data.tar.gz: 97fe56a82cbc2f8310b8c4104cf50fcac7e30f0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7fac407416a6550b1771287e2ad99fecddc3beb6c3188df17932f5c3db6dbdab377dc1559985262b90eada1d58548f0e90cfaf90d9162d55d5b2438789df5cc
|
7
|
+
data.tar.gz: 60522bbcfea122b727c20083af5b3b201b3f5b28eeb480b367c2eb68aba17cc7fecd8a8e53ea3101d0f91f8b28d53b3b23d789658b3f716df10dcccfaf095c78
|
@@ -3,8 +3,39 @@ module AuthorizeNet::API
|
|
3
3
|
|
4
4
|
module Type
|
5
5
|
API_CREATE_TRANSACTION = "createTransactionRequest"
|
6
|
-
|
6
|
+
|
7
|
+
API_CREATE_SUBSCRIPTION = "ARBCreateSubscriptionRequest"
|
8
|
+
API_UPDATE_SUBSCRIPTION = "ARBUpdateSubscriptionRequest"
|
9
|
+
API_CANCEL_SUBSCRIPTION = "ARBCancelSubscriptionRequest"
|
10
|
+
API_GET_SUBSCRIPTION_STATUS = "ARBGetSubscriptionStatusRequest"
|
11
|
+
API_GET_SUBSCRIPTION_LIST = "ARBGetSubscriptionListRequest"
|
12
|
+
|
13
|
+
API_GET_CUSTOMER_PROFILE_IDS = "getCustomerProfileIdsRequest"
|
14
|
+
|
15
|
+
API_CREATE_CUSTOMER_PROFILE = "createCustomerProfileRequest"
|
16
|
+
API_GET_CUSTOMER_PROFILE = "getCustomerProfileRequest"
|
17
|
+
API_UPDATE_CUSTOMER_PROFILE = "updateCustomerProfileRequest"
|
7
18
|
API_DELETE_CUSTOMER_PROFILE = "deleteCustomerProfileRequest"
|
19
|
+
|
20
|
+
API_CREATE_CUSTOMER_PAYMENT_PROFILE = "createCustomerPaymentProfileRequest"
|
21
|
+
API_GET_CUSTOMER_PAYMENT_PROFILE = "getCustomerPaymentProfileRequest"
|
22
|
+
API_UPDATE_CUSTOMER_PAYMENT_PROFILE = "updateCustomerPaymentProfileRequest"
|
23
|
+
API_DELETE_CUSTOMER_PAYMENT_PROFILE = "deleteCustomerPaymentProfileRequest"
|
24
|
+
|
25
|
+
API_CREATE_CUSTOMER_SHIPPING_PROFILE = "createCustomerShippingAddressRequest"
|
26
|
+
API_GET_CUSTOMER_SHIPPING_PROFILE = "getCustomerShippingAddressRequest"
|
27
|
+
API_UPDATE_CUSTOMER_SHIPPING_PROFILE = "updateCustomerShippingAddressRequest"
|
28
|
+
API_DELETE_CUSTOMER_SHIPPING_PROFILE = "deleteCustomerShippingAddressRequest"
|
29
|
+
|
30
|
+
API_CREATE_CUSTOMER_PROFILE_FROM_TRANSACTION = "createCustomerProfileFromTransactionRequest"
|
31
|
+
|
32
|
+
API_GET_SETTLED_BATCH_LIST = "getSettledBatchListRequest"
|
33
|
+
API_GET_TRANSACTION_LIST = "getTransactionListRequest"
|
34
|
+
API_GET_TRANSACTION_DETAILS = "getTransactionDetailsRequest"
|
35
|
+
API_GET_UNSETTLED_TRANSACTION_LIST = "getUnsettledTransactionListRequest"
|
36
|
+
API_GET_BATCH_STATISTICS = "getBatchStatisticsRequest"
|
37
|
+
|
38
|
+
|
8
39
|
API_DECRYPT_PAYMENT_DATA = "decryptPaymentDataRequest"
|
9
40
|
API_AUTHENTICATE_TEST_REQUEST = "authenticateTestRequest"
|
10
41
|
end
|
@@ -14,6 +14,126 @@ module AuthorizeNet::API
|
|
14
14
|
make_request(request,CreateTransactionResponse,Type::API_CREATE_TRANSACTION)
|
15
15
|
end
|
16
16
|
|
17
|
+
# This request enables you to create a recurring billing subscription
|
18
|
+
#
|
19
|
+
# See spec/api_spec.rb for usage examples
|
20
|
+
def create_subscription(request)
|
21
|
+
make_request(request,ARBCreateSubscriptionResponse,Type::API_CREATE_SUBSCRIPTION)
|
22
|
+
end
|
23
|
+
|
24
|
+
# This request enables you to update a recurring billing subscription
|
25
|
+
#
|
26
|
+
# See spec/api_spec.rb for usage examples
|
27
|
+
def update_subscription(request)
|
28
|
+
make_request(request,ARBUpdateSubscriptionResponse,Type::API_UPDATE_SUBSCRIPTION)
|
29
|
+
end
|
30
|
+
|
31
|
+
# This request enables you to cancel a recurring billing subscription
|
32
|
+
#
|
33
|
+
# See spec/api_spec.rb for usage examples
|
34
|
+
def cancel_subscription(request)
|
35
|
+
make_request(request,ARBCancelSubscriptionResponse,Type::API_CANCEL_SUBSCRIPTION)
|
36
|
+
end
|
37
|
+
|
38
|
+
# This request enables you to get a recurring billing subscription status
|
39
|
+
#
|
40
|
+
# See spec/api_spec.rb for usage examples
|
41
|
+
def get_subscription_status(request)
|
42
|
+
make_request(request,ARBGetSubscriptionStatusResponse,Type::API_GET_SUBSCRIPTION_STATUS)
|
43
|
+
end
|
44
|
+
|
45
|
+
# This request enables you to get a list of all recurring billing subscriptions
|
46
|
+
#
|
47
|
+
# See spec/api_spec.rb for usage examples
|
48
|
+
def get_subscription_list(request)
|
49
|
+
make_request(request,ARBGetSubscriptionListResponse,Type::API_GET_SUBSCRIPTION_LIST)
|
50
|
+
end
|
51
|
+
|
52
|
+
# This request enables you to create a customer profile
|
53
|
+
#
|
54
|
+
# See spec/api_spec.rb for usage examples
|
55
|
+
def create_customer_profile(request)
|
56
|
+
make_request(request,CreateCustomerProfileResponse,Type::API_CREATE_CUSTOMER_PROFILE)
|
57
|
+
end
|
58
|
+
|
59
|
+
# This request enables you to retrieve a customer profile
|
60
|
+
#
|
61
|
+
# See spec/api_spec.rb for usage examples
|
62
|
+
def get_customer_profile(request)
|
63
|
+
make_request(request,GetCustomerProfileResponse,Type::API_GET_CUSTOMER_PROFILE)
|
64
|
+
end
|
65
|
+
|
66
|
+
# This request enables you to update a customer profile
|
67
|
+
#
|
68
|
+
# See spec/api_spec.rb for usage examples
|
69
|
+
def update_customer_profile(request)
|
70
|
+
make_request(request,UpdateCustomerProfileResponse,Type::API_UPDATE_CUSTOMER_PROFILE)
|
71
|
+
end
|
72
|
+
|
73
|
+
# This request enables you to delete a customer profile
|
74
|
+
#
|
75
|
+
# See spec/api_spec.rb for usage examples
|
76
|
+
def delete_customer_profile(request)
|
77
|
+
make_request(request,DeleteCustomerProfileResponse,Type::API_DELETE_CUSTOMER_PROFILE)
|
78
|
+
end
|
79
|
+
|
80
|
+
# This request enables you to create a customer payment profile
|
81
|
+
#
|
82
|
+
# See spec/api_spec.rb for usage examples
|
83
|
+
def create_customer_payment_profile(request)
|
84
|
+
make_request(request,CreateCustomerPaymentProfileResponse,Type::API_CREATE_CUSTOMER_PAYMENT_PROFILE)
|
85
|
+
end
|
86
|
+
|
87
|
+
# This request enables you to retrieve a customer payment profile
|
88
|
+
#
|
89
|
+
# See spec/api_spec.rb for usage examples
|
90
|
+
def get_customer_payment_profile(request)
|
91
|
+
make_request(request,GetCustomerPaymentProfileResponse,Type::API_GET_CUSTOMER_PAYMENT_PROFILE)
|
92
|
+
end
|
93
|
+
|
94
|
+
# This request enables you to update a customer payment profile
|
95
|
+
#
|
96
|
+
# See spec/api_spec.rb for usage examples
|
97
|
+
def update_customer_payment_profile(request)
|
98
|
+
make_request(request,UpdateCustomerPaymentProfileResponse,Type::API_UPDATE_CUSTOMER_PAYMENT_PROFILE)
|
99
|
+
end
|
100
|
+
|
101
|
+
# This request enables you to delete a customer payment profile
|
102
|
+
#
|
103
|
+
# See spec/api_spec.rb for usage examples
|
104
|
+
def delete_customer_payment_profile(request)
|
105
|
+
make_request(request,DeleteCustomerPaymentProfileResponse,Type::API_DELETE_CUSTOMER_PAYMENT_PROFILE)
|
106
|
+
end
|
107
|
+
|
108
|
+
# This request enables you to create a customer shipping profile
|
109
|
+
#
|
110
|
+
# See spec/api_spec.rb for usage examples
|
111
|
+
def create_customer_shipping_profile(request)
|
112
|
+
make_request(request,CreateCustomerShippingAddressResponse,Type::API_CREATE_CUSTOMER_SHIPPING_PROFILE)
|
113
|
+
end
|
114
|
+
|
115
|
+
# This request enables you to retrieve a customer shipping profile
|
116
|
+
#
|
117
|
+
# See spec/api_spec.rb for usage examples
|
118
|
+
def get_customer_shipping_profile(request)
|
119
|
+
make_request(request,GetCustomerShippingAddressResponse,Type::API_GET_CUSTOMER_SHIPPING_PROFILE)
|
120
|
+
end
|
121
|
+
|
122
|
+
# This request enables you to update a customer shipping profile
|
123
|
+
#
|
124
|
+
# See spec/api_spec.rb for usage examples
|
125
|
+
def update_customer_shipping_profile(request)
|
126
|
+
make_request(request,UpdateCustomerShippingAddressResponse,Type::API_UPDATE_CUSTOMER_SHIPPING_PPROFILE)
|
127
|
+
end
|
128
|
+
|
129
|
+
# This request enables you to delete a customer shipping profile
|
130
|
+
#
|
131
|
+
# See spec/api_spec.rb for usage examples
|
132
|
+
def delete_customer_shipping_profile(request)
|
133
|
+
make_request(request,DeleteCustomerShippingAddressResponse,Type::API_DELETE_CUSTOMER_SHIPPING_PPROFILE)
|
134
|
+
end
|
135
|
+
|
136
|
+
|
17
137
|
# This request enables you to create a customer profile, payment profile,
|
18
138
|
# and shipping profile from an existing successful transaction.
|
19
139
|
# NOTE: Tokenized transactions (e.g. Apple Pay), or PayPal should not be used to
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: authorizenet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.5
|
4
|
+
version: 1.8.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Authorize.Net
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|