authorizenet 1.9.0.2 → 1.9.1
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,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49144b3fce4303fc413bed53e97f83747d4ed522
|
4
|
+
data.tar.gz: 371cf44f76a71968b02185df429ba76589781547
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14d846f6a2f0f73c4507b5bb2bb15938aa4bc409f2a504b7c7b8dd5faafd2dbf1d31859665b2c096836d2a5ffc29923c7e94ece81a9441bd9dc3e1fa55a89fcf
|
7
|
+
data.tar.gz: 5f962c7b14a65abf16a48de15dd7809a962a9bba4ee4255c8bd618a2b4437c8cca32fa74abd068515ebf1ca15b158b41ff61a7c37790c7fda5ab6d4f44427e72
|
@@ -46,6 +46,11 @@ module AuthorizeNet::API
|
|
46
46
|
API_GET_CUSTOMER_PAYMENT_PROFILE_LIST = "getCustomerPaymentProfileListRequest"
|
47
47
|
|
48
48
|
API_ARB_GET_SUBSCRIPTION_REQUEST = "ARBGetSubscriptionRequest"
|
49
|
+
|
50
|
+
API_GET_MERCHANT_DETAILS = "getMerchantDetailsRequest"
|
51
|
+
API_GET_HOSTED_PAYMENT_PAGE = "getHostedPaymentPageRequest"
|
52
|
+
API_UDPATE_HELD_TRANSACTION = "updateHeldTransactionRequest"
|
53
|
+
|
49
54
|
end
|
50
55
|
|
51
56
|
def initialize(api_login_id, api_transaction_key, options = {})
|
@@ -1 +1 @@
|
|
1
|
-
clientId: sdk-ruby-1.9.
|
1
|
+
clientId: sdk-ruby-1.9.1
|
@@ -1076,13 +1076,15 @@ end
|
|
1076
1076
|
xml_accessor :payment, :as => PaymentType
|
1077
1077
|
xml_accessor :driversLicense, :as => DriversLicenseType
|
1078
1078
|
xml_accessor :taxId
|
1079
|
+
xml_accessor :defaultPaymentProfile
|
1079
1080
|
|
1080
|
-
def initialize(customerType = nil, billTo = nil, payment = nil, driversLicense = nil, taxId = nil)
|
1081
|
+
def initialize(customerType = nil, billTo = nil, payment = nil, driversLicense = nil, taxId = nil, defaultPaymentProfile = nil)
|
1081
1082
|
@customerType = customerType
|
1082
1083
|
@billTo = billTo
|
1083
1084
|
@payment = payment
|
1084
1085
|
@driversLicense = driversLicense
|
1085
1086
|
@taxId = taxId
|
1087
|
+
@defaultPaymentProfile = defaultPaymentProfile
|
1086
1088
|
end
|
1087
1089
|
end
|
1088
1090
|
|
@@ -1138,12 +1140,13 @@ end
|
|
1138
1140
|
xml_accessor :billTo, :as => CustomerAddressType
|
1139
1141
|
xml_accessor :customerProfileId
|
1140
1142
|
xml_accessor :customerPaymentProfileId
|
1143
|
+
xml_accessor :defaultPaymentProfile
|
1141
1144
|
xml_accessor :payment, :as => PaymentMaskedType
|
1142
1145
|
xml_accessor :driversLicense, :as => DriversLicenseMaskedType
|
1143
1146
|
xml_accessor :taxId
|
1144
1147
|
xml_accessor :subscriptionIds, :as => SubscriptionIdList
|
1145
1148
|
|
1146
|
-
def initialize(customerType = nil, billTo = nil, customerProfileId = nil, customerPaymentProfileId = nil, payment = nil, driversLicense = nil, taxId = nil, subscriptionIds = nil)
|
1149
|
+
def initialize(customerType = nil, billTo = nil, customerProfileId = nil, customerPaymentProfileId = nil, payment = nil, driversLicense = nil, taxId = nil, subscriptionIds = nil, defaultPaymentProfile = nil)
|
1147
1150
|
@customerType = customerType
|
1148
1151
|
@billTo = billTo
|
1149
1152
|
@customerProfileId = customerProfileId
|
@@ -1152,6 +1155,7 @@ end
|
|
1152
1155
|
@driversLicense = driversLicense
|
1153
1156
|
@taxId = taxId
|
1154
1157
|
@subscriptionIds = subscriptionIds
|
1158
|
+
@defaultPaymentProfile = defaultPaymentProfile
|
1155
1159
|
end
|
1156
1160
|
end
|
1157
1161
|
|
@@ -1635,6 +1639,28 @@ end
|
|
1635
1639
|
@profileTransVoid = profileTransVoid
|
1636
1640
|
end
|
1637
1641
|
end
|
1642
|
+
|
1643
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfFraudFilterType
|
1644
|
+
class ArrayOfFraudFilterType < ::Array
|
1645
|
+
include ROXML
|
1646
|
+
xml_accessor :fraudFilter
|
1647
|
+
|
1648
|
+
def initialize(fraudFilter = [])
|
1649
|
+
@fraudFilter = fraudFilter
|
1650
|
+
end
|
1651
|
+
end
|
1652
|
+
|
1653
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}FraudInformationType
|
1654
|
+
class FraudInformationType
|
1655
|
+
include ROXML
|
1656
|
+
xml_accessor :fraudFilterList, :as => ArrayOfFraudFilterType
|
1657
|
+
xml_accessor :fraudAction
|
1658
|
+
|
1659
|
+
def initialize(fraudFilterList = nil, fraudAction = nil)
|
1660
|
+
@fraudFilterList = fraudFilterList
|
1661
|
+
@fraudAction = fraudAction
|
1662
|
+
end
|
1663
|
+
end
|
1638
1664
|
|
1639
1665
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}transactionSummaryType
|
1640
1666
|
# transId - (any)
|
@@ -1669,8 +1695,9 @@ end
|
|
1669
1695
|
xml_accessor :mobileDeviceId
|
1670
1696
|
xml_accessor :subscription
|
1671
1697
|
xml_accessor :hasReturnedItems
|
1698
|
+
xml_accessor :fraudInformation
|
1672
1699
|
|
1673
|
-
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)
|
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)
|
1674
1701
|
@transId = transId
|
1675
1702
|
@submitTimeUTC = submitTimeUTC
|
1676
1703
|
@submitTimeLocal = submitTimeLocal
|
@@ -1686,6 +1713,7 @@ end
|
|
1686
1713
|
@mobileDeviceId = mobileDeviceId
|
1687
1714
|
@subscription = subscription
|
1688
1715
|
@hasReturnedItems = hasReturnedItems
|
1716
|
+
@fraudInformation = fraudInformation
|
1689
1717
|
end
|
1690
1718
|
end
|
1691
1719
|
|
@@ -2691,6 +2719,18 @@ end
|
|
2691
2719
|
HostedProfileReturnUrl = SettingNameEnum.new("hostedProfileReturnUrl")
|
2692
2720
|
HostedProfileReturnUrlText = SettingNameEnum.new("hostedProfileReturnUrlText")
|
2693
2721
|
HostedProfileValidationMode = SettingNameEnum.new("hostedProfileValidationMode")
|
2722
|
+
HostedProfileBillingAddressOptions = SettingNameEnum.new("hostedProfileBillingAddressOptions")
|
2723
|
+
HostedProfileManageOptions = SettingNameEnum.new("hostedProfileManageOptions")
|
2724
|
+
HostedPaymentIFrameCommunicatorUrl = SettingNameEnum.new("hostedPaymentIFrameCommunicatorUrl")
|
2725
|
+
HostedPaymentButtonOptions = SettingNameEnum.new("hostedPaymentButtonOptions")
|
2726
|
+
HostedPaymentReturnOptions = SettingNameEnum.new("hostedPaymentReturnOptions")
|
2727
|
+
HostedPaymentOrderOptions = SettingNameEnum.new("hostedPaymentOrderOptions")
|
2728
|
+
HostedPaymentPaymentOptions = SettingNameEnum.new("hostedPaymentPaymentOptions")
|
2729
|
+
HostedPaymentBillingAddressOptions = SettingNameEnum.new("hostedPaymentBillingAddressOptions")
|
2730
|
+
HostedPaymentShippingAddressOptions = SettingNameEnum.new("hostedPaymentShippingAddressOptions")
|
2731
|
+
HostedPaymentSecurityOptions = SettingNameEnum.new("hostedPaymentSecurityOptions")
|
2732
|
+
HostedPaymentCustomerOptions = SettingNameEnum.new("hostedPaymentCustomerOptions")
|
2733
|
+
HostedPaymentStyleOptions = SettingNameEnum.new("hostedPaymentStyleOptions")
|
2694
2734
|
MerchantEmail = SettingNameEnum.new("merchantEmail")
|
2695
2735
|
RecurringBilling = SettingNameEnum.new("recurringBilling")
|
2696
2736
|
TestRequest = SettingNameEnum.new("testRequest")
|
@@ -3036,12 +3076,14 @@ end
|
|
3036
3076
|
xml_accessor :refId
|
3037
3077
|
xml_accessor :customerProfileId
|
3038
3078
|
xml_accessor :address, :as => CustomerAddressType
|
3079
|
+
xml_accessor :defaultShippingAddress
|
3039
3080
|
|
3040
|
-
def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, address = nil)
|
3081
|
+
def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, address = nil, defaultShippingAddress = nil)
|
3041
3082
|
@merchantAuthentication = merchantAuthentication
|
3042
3083
|
@refId = refId
|
3043
3084
|
@customerProfileId = customerProfileId
|
3044
3085
|
@address = address
|
3086
|
+
@defaultShippingAddress = defaultShippingAddress
|
3045
3087
|
end
|
3046
3088
|
end
|
3047
3089
|
|
@@ -3081,13 +3123,17 @@ end
|
|
3081
3123
|
xml_accessor :transId
|
3082
3124
|
xml_accessor :customer, :as => CustomerProfileBaseType
|
3083
3125
|
xml_accessor :customerProfileId, :as => NumericStringsType
|
3126
|
+
xml_accessor :defaultPaymentProfile
|
3127
|
+
xml_accessor :defaultShippingAddress
|
3084
3128
|
|
3085
|
-
def initialize(merchantAuthentication = nil, refId = nil, transId = nil, customer = nil, customerProfileId = nil)
|
3129
|
+
def initialize(merchantAuthentication = nil, refId = nil, transId = nil, customer = nil, customerProfileId = nil, defaultPaymentProfile = nil, defaultShippingAddress = nil)
|
3086
3130
|
@merchantAuthentication = merchantAuthentication
|
3087
3131
|
@refId = refId
|
3088
3132
|
@transId = transId
|
3089
3133
|
@customer = customer
|
3090
3134
|
@customerProfileId = customerProfileId
|
3135
|
+
@defaultPaymentProfile = defaultPaymentProfile
|
3136
|
+
@defaultShippingAddress = defaultShippingAddress
|
3091
3137
|
end
|
3092
3138
|
end
|
3093
3139
|
|
@@ -3208,15 +3254,17 @@ end
|
|
3208
3254
|
xml_accessor :refId
|
3209
3255
|
xml_accessor :messages, :as => MessagesType
|
3210
3256
|
xml_accessor :sessionToken
|
3257
|
+
xml_accessor :defaultShippingAddress
|
3211
3258
|
xml_accessor :address
|
3212
3259
|
xml_accessor :subscriptionIds, :as => SubscriptionIdList
|
3213
3260
|
|
3214
|
-
def initialize(refId = nil, messages = nil, sessionToken = nil, address = nil, subscriptionIds = nil)
|
3261
|
+
def initialize(refId = nil, messages = nil, sessionToken = nil, address = nil, subscriptionIds = nil, defaultShippingAddress = nil)
|
3215
3262
|
@refId = refId
|
3216
3263
|
@messages = messages
|
3217
3264
|
@sessionToken = sessionToken
|
3218
3265
|
@address = address
|
3219
3266
|
@subscriptionIds = subscriptionIds
|
3267
|
+
@defaultShippingAddress = defaultShippingAddress
|
3220
3268
|
end
|
3221
3269
|
end
|
3222
3270
|
|
@@ -3308,12 +3356,14 @@ end
|
|
3308
3356
|
xml_accessor :refId
|
3309
3357
|
xml_accessor :customerProfileId
|
3310
3358
|
xml_accessor :address, :as => CustomerAddressExType
|
3359
|
+
xml_accessor :defaultShippingAddress
|
3311
3360
|
|
3312
|
-
def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, address = nil)
|
3361
|
+
def initialize(merchantAuthentication = nil, refId = nil, customerProfileId = nil, address = nil, defaultShippingAddress = nil)
|
3313
3362
|
@merchantAuthentication = merchantAuthentication
|
3314
3363
|
@refId = refId
|
3315
3364
|
@customerProfileId = customerProfileId
|
3316
3365
|
@address = address
|
3366
|
+
@defaultShippingAddress = defaultShippingAddress
|
3317
3367
|
end
|
3318
3368
|
end
|
3319
3369
|
|
@@ -3723,7 +3773,25 @@ end
|
|
3723
3773
|
@batchList = batchList
|
3724
3774
|
end
|
3725
3775
|
end
|
3776
|
+
|
3777
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}TransactionListOrderFieldEnum
|
3778
|
+
class TransactionListOrderFieldEnum < ::String
|
3779
|
+
Id = TransactionListOrderFieldEnum.new("id")
|
3780
|
+
SubmitTimeUTC = TransactionListOrderFieldEnum.new("submitTimeUTC")
|
3781
|
+
end
|
3782
|
+
|
3783
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}TransactionListSorting
|
3784
|
+
class TransactionListSorting
|
3785
|
+
include ROXML
|
3786
|
+
xml_accessor :orderBy
|
3787
|
+
xml_accessor :orderDescending
|
3726
3788
|
|
3789
|
+
def initialize(orderBy = nil, orderDescending = nil)
|
3790
|
+
@orderBy = orderBy
|
3791
|
+
@orderDescending = orderDescending
|
3792
|
+
end
|
3793
|
+
end
|
3794
|
+
|
3727
3795
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getTransactionListRequest
|
3728
3796
|
# merchantAuthentication - MerchantAuthenticationType
|
3729
3797
|
# refId - SOAP::SOAPString
|
@@ -3733,11 +3801,15 @@ end
|
|
3733
3801
|
xml_accessor :merchantAuthentication
|
3734
3802
|
xml_accessor :refId
|
3735
3803
|
xml_accessor :batchId
|
3804
|
+
xml_accessor :sorting, :as => TransactionListSorting
|
3805
|
+
xml_accessor :paging, :as => Paging
|
3736
3806
|
|
3737
|
-
def initialize(merchantAuthentication = nil, refId = nil, batchId = nil)
|
3807
|
+
def initialize(merchantAuthentication = nil, refId = nil, batchId = nil, sorting = nil, paging = nil)
|
3738
3808
|
@merchantAuthentication = merchantAuthentication
|
3739
3809
|
@refId = refId
|
3740
3810
|
@batchId = batchId
|
3811
|
+
@sorting = sorting
|
3812
|
+
@paging = paging
|
3741
3813
|
end
|
3742
3814
|
end
|
3743
3815
|
|
@@ -3752,12 +3824,14 @@ end
|
|
3752
3824
|
xml_accessor :messages, :as => MessagesType
|
3753
3825
|
xml_accessor :sessionToken
|
3754
3826
|
xml_accessor :transactions, :as => ArrayOfTransactionSummaryType
|
3827
|
+
xml_accessor :totalNumInResultSet
|
3755
3828
|
|
3756
|
-
def initialize(refId = nil, messages = nil, sessionToken = nil, transactions = nil)
|
3829
|
+
def initialize(refId = nil, messages = nil, sessionToken = nil, transactions = nil, totalNumInResultSet = nil)
|
3757
3830
|
@refId = refId
|
3758
3831
|
@messages = messages
|
3759
3832
|
@sessionToken = sessionToken
|
3760
3833
|
@transactions = transactions
|
3834
|
+
@totalNumInResultSet = totalNumInResultSet
|
3761
3835
|
end
|
3762
3836
|
end
|
3763
3837
|
|
@@ -3801,6 +3875,12 @@ end
|
|
3801
3875
|
end
|
3802
3876
|
end
|
3803
3877
|
|
3878
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}TransactionGroupStatusEnum
|
3879
|
+
class TransactionGroupStatusEnum < ::String
|
3880
|
+
ANY = TransactionGroupStatusEnum.new("any")
|
3881
|
+
PENDINGAPPROVAL = TransactionGroupStatusEnum.new("pendingApproval")
|
3882
|
+
end
|
3883
|
+
|
3804
3884
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getUnsettledTransactionListRequest
|
3805
3885
|
# merchantAuthentication - MerchantAuthenticationType
|
3806
3886
|
# refId - SOAP::SOAPString
|
@@ -3808,10 +3888,16 @@ end
|
|
3808
3888
|
include ROXML
|
3809
3889
|
xml_accessor :merchantAuthentication
|
3810
3890
|
xml_accessor :refId
|
3891
|
+
xml_accessor :status
|
3892
|
+
xml_accessor :sorting, :as => TransactionListSorting
|
3893
|
+
xml_accessor :paging, :as => Paging
|
3811
3894
|
|
3812
|
-
def initialize(merchantAuthentication = nil, refId = nil)
|
3895
|
+
def initialize(merchantAuthentication = nil, refId = nil, status = nil, sorting = nil, paging = nil)
|
3813
3896
|
@merchantAuthentication = merchantAuthentication
|
3814
3897
|
@refId = refId
|
3898
|
+
@status = status
|
3899
|
+
@sorting = sorting
|
3900
|
+
@paging = paging
|
3815
3901
|
end
|
3816
3902
|
end
|
3817
3903
|
|
@@ -3826,12 +3912,14 @@ end
|
|
3826
3912
|
xml_accessor :messages, :as => MessagesType
|
3827
3913
|
xml_accessor :sessionToken
|
3828
3914
|
xml_accessor :transactions, :as => ArrayOfTransactionSummaryType
|
3915
|
+
xml_accessor :totalNumInResultSet
|
3829
3916
|
|
3830
|
-
def initialize(refId = nil, messages = nil, sessionToken = nil, transactions = nil)
|
3917
|
+
def initialize(refId = nil, messages = nil, sessionToken = nil, transactions = nil, totalNumInResultSet = nil)
|
3831
3918
|
@refId = refId
|
3832
3919
|
@messages = messages
|
3833
3920
|
@sessionToken = sessionToken
|
3834
3921
|
@transactions = transactions
|
3922
|
+
@totalNumInResultSet = totalNumInResultSet
|
3835
3923
|
end
|
3836
3924
|
end
|
3837
3925
|
|
@@ -4243,16 +4331,18 @@ end
|
|
4243
4331
|
# payment - PaymentMaskedType
|
4244
4332
|
class CustomerPaymentProfileListItemType
|
4245
4333
|
include ROXML
|
4334
|
+
xml_accessor :defaultPaymentProfile
|
4246
4335
|
xml_accessor :customerPaymentProfileId
|
4247
4336
|
xml_accessor :customerProfileId
|
4248
4337
|
xml_accessor :billTo, :as => CustomerAddressType
|
4249
4338
|
xml_accessor :payment, :as => PaymentMaskedType
|
4250
|
-
|
4251
|
-
def initialize(customerPaymentProfileId = nil, customerProfileId = nil, billTo = nil, payment = nil)
|
4339
|
+
|
4340
|
+
def initialize(customerPaymentProfileId = nil, customerProfileId = nil, billTo = nil, payment = nil, defaultPaymentProfile = nil)
|
4252
4341
|
@customerPaymentProfileId = customerPaymentProfileId
|
4253
4342
|
@customerProfileId = customerProfileId
|
4254
4343
|
@billTo = billTo
|
4255
4344
|
@payment = payment
|
4345
|
+
@defaultPaymentProfile = defaultPaymentProfile
|
4256
4346
|
end
|
4257
4347
|
end
|
4258
4348
|
|
@@ -4632,4 +4722,212 @@ end
|
|
4632
4722
|
end
|
4633
4723
|
end
|
4634
4724
|
|
4725
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getMerchantDetailsRequest
|
4726
|
+
# merchantAuthentication - MerchantAuthenticationType
|
4727
|
+
# refId - SOAP::SOAPString
|
4728
|
+
class GetMerchantDetailsRequest
|
4729
|
+
include ROXML
|
4730
|
+
xml_accessor :merchantAuthentication
|
4731
|
+
xml_accessor :refId
|
4732
|
+
|
4733
|
+
def initialize(merchantAuthentication = nil, refId = nil)
|
4734
|
+
@merchantAuthentication = merchantAuthentication
|
4735
|
+
@refId = refId
|
4736
|
+
end
|
4737
|
+
end
|
4738
|
+
|
4739
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ProcessorType
|
4740
|
+
class ProcessorType
|
4741
|
+
include ROXML
|
4742
|
+
xml_accessor :name
|
4743
|
+
|
4744
|
+
def initialize(name = nil)
|
4745
|
+
@name = name
|
4746
|
+
end
|
4747
|
+
end
|
4748
|
+
|
4749
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfProcessorType
|
4750
|
+
class ArrayOfProcessorType < ::Array
|
4751
|
+
include ROXML
|
4752
|
+
xml_accessor :processor, :as => [ProcessorType]
|
4753
|
+
|
4754
|
+
def initialize(processor = [])
|
4755
|
+
@processor = processor
|
4756
|
+
end
|
4757
|
+
end
|
4758
|
+
|
4759
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfMarketType
|
4760
|
+
class ArrayOfMarketType < ::Array
|
4761
|
+
include ROXML
|
4762
|
+
xml_accessor :marketType
|
4763
|
+
def initialize(marketType = [])
|
4764
|
+
@marketType = marketType
|
4765
|
+
end
|
4766
|
+
end
|
4767
|
+
|
4768
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfProductCode
|
4769
|
+
class ArrayOfProductCode < ::Array
|
4770
|
+
include ROXML
|
4771
|
+
xml_accessor :productCode
|
4772
|
+
|
4773
|
+
def initialize(productCode = [])
|
4774
|
+
@productCode = productCode
|
4775
|
+
end
|
4776
|
+
end
|
4777
|
+
|
4778
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}PaymentMethodsTypeEnum
|
4779
|
+
class PaymentMethodsTypeEnum < ::String
|
4780
|
+
Visa = PaymentMethodsTypeEnum.new("Visa")
|
4781
|
+
MasterCard = PaymentMethodsTypeEnum.new("MasterCard")
|
4782
|
+
Discover = PaymentMethodsTypeEnum.new("Discover")
|
4783
|
+
AmericanExpress = PaymentMethodsTypeEnum.new("AmericanExpress")
|
4784
|
+
DinersClub = PaymentMethodsTypeEnum.new("DinersClub")
|
4785
|
+
JCB = PaymentMethodsTypeEnum.new("JCB")
|
4786
|
+
EnRoute = PaymentMethodsTypeEnum.new("EnRoute")
|
4787
|
+
Echeck = PaymentMethodsTypeEnum.new("Echeck")
|
4788
|
+
Paypal = PaymentMethodsTypeEnum.new("Paypal")
|
4789
|
+
VisaCheckout = PaymentMethodsTypeEnum.new("VisaCheckout")
|
4790
|
+
ApplePay = PaymentMethodsTypeEnum.new("ApplePay")
|
4791
|
+
AndroidPay = PaymentMethodsTypeEnum.new("AndroidPay")
|
4792
|
+
end
|
4793
|
+
|
4794
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfPaymentMethod
|
4795
|
+
class ArrayOfPaymentMethod < ::Array
|
4796
|
+
include ROXML
|
4797
|
+
xml_accessor :paymentMethod
|
4798
|
+
|
4799
|
+
def initialize(paymentMethod = [])
|
4800
|
+
@paymentMethod = paymentMethod
|
4801
|
+
end
|
4802
|
+
end
|
4803
|
+
|
4804
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfCurrencyCode
|
4805
|
+
class ArrayOfCurrencyCode < ::Array
|
4806
|
+
include ROXML
|
4807
|
+
xml_accessor :currency
|
4808
|
+
|
4809
|
+
def initialize(currency = [])
|
4810
|
+
@currency = currency
|
4811
|
+
end
|
4812
|
+
end
|
4813
|
+
|
4814
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}getMerchantDetailsResponse
|
4815
|
+
class GetMerchantDetailsResponse
|
4816
|
+
include ROXML
|
4817
|
+
xml_accessor :refId
|
4818
|
+
xml_accessor :messages, :as => MessagesType
|
4819
|
+
xml_accessor :sessionToken
|
4820
|
+
xml_accessor :isTestMode
|
4821
|
+
xml_accessor :processors, :as => ArrayOfProcessorType
|
4822
|
+
xml_accessor :merchantName
|
4823
|
+
xml_accessor :gatewayId
|
4824
|
+
xml_accessor :marketTypes, :as => ArrayOfMarketType
|
4825
|
+
xml_accessor :productCodes, :as => ArrayOfProductCode
|
4826
|
+
xml_accessor :paymentMethods, :as => ArrayOfPaymentMethod
|
4827
|
+
xml_accessor :currencies, :as => ArrayOfCurrencyCode
|
4828
|
+
|
4829
|
+
def initialize(refId = nil, messages = nil, sessionToken = nil, isTestMode = nil, processors = nil, merchantName = nil, gatewayId = nil, marketTypes = nil, productCodes = nil, paymentMethods = nil, currencies = nil)
|
4830
|
+
@refId = refId
|
4831
|
+
@messages = messages
|
4832
|
+
@sessionToken = sessionToken
|
4833
|
+
@isTestMode = isTestMode
|
4834
|
+
@processors = processors
|
4835
|
+
@merchantName = merchantName
|
4836
|
+
@gatewayId = gatewayId
|
4837
|
+
@marketTypes = marketTypes
|
4838
|
+
@productCodes = productCodes
|
4839
|
+
@paymentMethods = paymentMethods
|
4840
|
+
@currencies = currencies
|
4841
|
+
end
|
4842
|
+
end
|
4843
|
+
|
4844
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}PaymentMethodsTypeEnum
|
4845
|
+
class AfdsTransactionEnum < ::String
|
4846
|
+
Approve = AfdsTransactionEnum.new("approve")
|
4847
|
+
Decline = AfdsTransactionEnum.new("decline")
|
4848
|
+
end
|
4849
|
+
|
4850
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}HeldTransactionRequestType
|
4851
|
+
class HeldTransactionRequestType
|
4852
|
+
include ROXML
|
4853
|
+
xml_accessor :action
|
4854
|
+
xml_accessor :refTransId
|
4855
|
+
|
4856
|
+
def initialize(action = nil, refTransId = nil)
|
4857
|
+
@action = action
|
4858
|
+
@refTransId = refTransId
|
4859
|
+
end
|
4860
|
+
end
|
4861
|
+
|
4862
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}UpdateHeldTransactionRequest
|
4863
|
+
# merchantAuthentication - MerchantAuthenticationType
|
4864
|
+
# refId - SOAP::SOAPString
|
4865
|
+
class UpdateHeldTransactionRequest
|
4866
|
+
include ROXML
|
4867
|
+
xml_accessor :merchantAuthentication
|
4868
|
+
xml_accessor :refId
|
4869
|
+
xml_accessor :heldTransactionRequest, :as => HeldTransactionRequestType
|
4870
|
+
|
4871
|
+
def initialize(merchantAuthentication = nil, refId = nil)
|
4872
|
+
@merchantAuthentication = merchantAuthentication
|
4873
|
+
@refId = refId
|
4874
|
+
end
|
4875
|
+
end
|
4876
|
+
|
4877
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}UpdateHeldTransactionResponse
|
4878
|
+
# refId - SOAP::SOAPString
|
4879
|
+
# messages - MessagesType
|
4880
|
+
# sessionToken - SOAP::SOAPString
|
4881
|
+
# transactionResponse - TransactionResponse
|
4882
|
+
# profileResponse - CreateProfileResponse
|
4883
|
+
class UpdateHeldTransactionResponse
|
4884
|
+
include ROXML
|
4885
|
+
xml_accessor :refId
|
4886
|
+
xml_accessor :messages, :as => MessagesType
|
4887
|
+
xml_accessor :sessionToken
|
4888
|
+
xml_accessor :transactionResponse, :as => TransactionResponse
|
4889
|
+
|
4890
|
+
def initialize(refId = nil, messages = nil, sessionToken = nil, transactionResponse = nil)
|
4891
|
+
@refId = refId
|
4892
|
+
@messages = messages
|
4893
|
+
@sessionToken = sessionToken
|
4894
|
+
@transactionResponse = transactionResponse
|
4895
|
+
end
|
4896
|
+
end
|
4897
|
+
|
4898
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}GetHostedPaymentPageRequest
|
4899
|
+
# merchantAuthentication - MerchantAuthenticationType
|
4900
|
+
# refId - SOAP::SOAPString
|
4901
|
+
class GetHostedPaymentPageRequest
|
4902
|
+
include ROXML
|
4903
|
+
xml_accessor :merchantAuthentication
|
4904
|
+
xml_accessor :refId
|
4905
|
+
xml_accessor :transactionRequest, :as => TransactionRequestType
|
4906
|
+
xml_accessor :hostedPaymentSettings, :as => Settings
|
4907
|
+
|
4908
|
+
def initialize(merchantAuthentication = nil, refId = nil, transactionRequest = nil, hostedPaymentSettings = nil)
|
4909
|
+
@merchantAuthentication = merchantAuthentication
|
4910
|
+
@refId = refId
|
4911
|
+
@transactionRequest = transactionRequest
|
4912
|
+
@hostedPaymentSettings = hostedPaymentSettings
|
4913
|
+
end
|
4914
|
+
end
|
4915
|
+
|
4916
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}GetHostedPaymentPageRequest
|
4917
|
+
# merchantAuthentication - MerchantAuthenticationType
|
4918
|
+
# refId - SOAP::SOAPString
|
4919
|
+
class GetHostedPaymentPageResponse
|
4920
|
+
include ROXML
|
4921
|
+
xml_accessor :refId
|
4922
|
+
xml_accessor :messages, :as => MessagesType
|
4923
|
+
xml_accessor :sessionToken
|
4924
|
+
xml_accessor :token
|
4925
|
+
|
4926
|
+
def initialize(refId = nil, messages = nil, sessionToken = nil, token = nil)
|
4927
|
+
@refId = refId
|
4928
|
+
@messages = messages
|
4929
|
+
@sessionToken = sessionToken
|
4930
|
+
@token = token
|
4931
|
+
end
|
4932
|
+
end
|
4635
4933
|
end
|
@@ -236,5 +236,17 @@ module AuthorizeNet::API
|
|
236
236
|
make_request(request,ValidateCustomerPaymentProfileResponse,Type::API_VALIDATE_CUSTOMER_PAYMENT_PROFILE)
|
237
237
|
end
|
238
238
|
|
239
|
+
def get_merchant_details(request)
|
240
|
+
make_request(request,GetMerchantDetailsResponse,Type::API_GET_MERCHANT_DETAILS)
|
241
|
+
end
|
242
|
+
|
243
|
+
def get_hosted_payment_page(request)
|
244
|
+
make_request(request,GetHostedPaymentPageResponse,Type::API_GET_HOSTED_PAYMENT_PAGE)
|
245
|
+
end
|
246
|
+
|
247
|
+
def update_held_transaction(request)
|
248
|
+
make_request(request,UpdateHeldTransactionResponse,Type::API_UDPATE_HELD_TRANSACTION)
|
249
|
+
end
|
250
|
+
|
239
251
|
end
|
240
252
|
end
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: authorizenet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.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: 2016-
|
11
|
+
date: 2016-11-24 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
|
@@ -189,9 +189,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
189
189
|
version: 1.3.6
|
190
190
|
requirements: []
|
191
191
|
rubyforge_project:
|
192
|
-
rubygems_version: 2.
|
192
|
+
rubygems_version: 2.5.1
|
193
193
|
signing_key:
|
194
194
|
specification_version: 4
|
195
195
|
summary: Authorize.Net Payments SDK
|
196
196
|
test_files: []
|
197
|
-
has_rdoc:
|