authorizenet 1.8.8.1 → 1.8.9
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/schema.rb +61 -9
- 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: 7b4063af2f7a7e72abe0927163f49834a23662b7
|
4
|
+
data.tar.gz: 4b347cd384e9495836748fbbd2aed3caa061979f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc3ae6a3dd53b47dbe3b5d753329cb7fa2c307ef711946fafe754db59d0525924e10b24cb331c7c911e97169646a1b8600468562fbe512d7c719c4fcb30705da
|
7
|
+
data.tar.gz: 0c5acd8b2de2055030ea4c8851a24b9cc170cfe7d265a599199689f09bd923399c8c832d1f0fc3a665577875bfd49575082ed14e73f7ac6bf6e1aa9c06bd1162
|
@@ -879,7 +879,24 @@ end
|
|
879
879
|
@trialOccurrences = trialOccurrences
|
880
880
|
end
|
881
881
|
end
|
882
|
-
|
882
|
+
|
883
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerProfileIdType
|
884
|
+
# customerProfileId - SOAP::SOAPString
|
885
|
+
# customerPaymentProfileId - SOAP::SOAPString
|
886
|
+
# customerAddressId - SOAP::SOAPString
|
887
|
+
class CustomerProfileIdType
|
888
|
+
include ROXML
|
889
|
+
xml_accessor :customerProfileId
|
890
|
+
xml_accessor :customerPaymentProfileId
|
891
|
+
xml_accessor :customerAddressId
|
892
|
+
|
893
|
+
def initialize(customerProfileId = nil, customerPaymentProfileId = nil, customerAddressId = nil)
|
894
|
+
@customerProfileId = customerProfileId
|
895
|
+
@customerPaymentProfileId = customerPaymentProfileId
|
896
|
+
@customerAddressId = customerAddressId
|
897
|
+
end
|
898
|
+
end
|
899
|
+
|
883
900
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBSubscriptionType
|
884
901
|
# name - SOAP::SOAPString
|
885
902
|
# paymentSchedule - PaymentScheduleType
|
@@ -890,6 +907,7 @@ end
|
|
890
907
|
# customer - CustomerType
|
891
908
|
# billTo - NameAndAddressType
|
892
909
|
# shipTo - NameAndAddressType
|
910
|
+
# profile - CustomerProfileIdType
|
893
911
|
class ARBSubscriptionType
|
894
912
|
include ROXML
|
895
913
|
xml_accessor :name
|
@@ -901,8 +919,9 @@ end
|
|
901
919
|
xml_accessor :customer, :as => CustomerType
|
902
920
|
xml_accessor :billTo, :as => NameAndAddressType
|
903
921
|
xml_accessor :shipTo, :as => NameAndAddressType
|
922
|
+
xml_accessor :profile, :as => CustomerProfileIdType
|
904
923
|
|
905
|
-
def initialize(name = nil, paymentSchedule = nil, amount = nil, trialAmount = nil, payment = nil, order = nil, customer = nil, billTo = nil, shipTo = nil)
|
924
|
+
def initialize(name = nil, paymentSchedule = nil, amount = nil, trialAmount = nil, payment = nil, order = nil, customer = nil, billTo = nil, shipTo = nil, profile = nil)
|
906
925
|
@name = name
|
907
926
|
@paymentSchedule = paymentSchedule
|
908
927
|
@amount = amount
|
@@ -912,6 +931,7 @@ end
|
|
912
931
|
@customer = customer
|
913
932
|
@billTo = billTo
|
914
933
|
@shipTo = shipTo
|
934
|
+
@profile = profile
|
915
935
|
end
|
916
936
|
end
|
917
937
|
|
@@ -1071,7 +1091,18 @@ end
|
|
1071
1091
|
@customerPaymentProfileId = customerPaymentProfileId
|
1072
1092
|
end
|
1073
1093
|
end
|
1094
|
+
|
1095
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}SubscriptionIdList
|
1096
|
+
# subscriptionId - SubscriptionIdList
|
1097
|
+
class SubscriptionIdList
|
1098
|
+
include ROXML
|
1099
|
+
xml_accessor :subscriptionId, :as => NumericStringsType
|
1074
1100
|
|
1101
|
+
def initialize(subscriptionId = nil)
|
1102
|
+
@subscriptionId = subscriptionId
|
1103
|
+
end
|
1104
|
+
end
|
1105
|
+
|
1075
1106
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerPaymentProfileMaskedType
|
1076
1107
|
# customerType - CustomerTypeEnum
|
1077
1108
|
# billTo - CustomerAddressType
|
@@ -1080,6 +1111,7 @@ end
|
|
1080
1111
|
# payment - PaymentMaskedType
|
1081
1112
|
# driversLicense - DriversLicenseMaskedType
|
1082
1113
|
# taxId - SOAP::SOAPString
|
1114
|
+
# subscriptionIds - SubscriptionIdList
|
1083
1115
|
class CustomerPaymentProfileMaskedType
|
1084
1116
|
include ROXML
|
1085
1117
|
xml_accessor :customerType
|
@@ -1089,8 +1121,9 @@ end
|
|
1089
1121
|
xml_accessor :payment, :as => PaymentMaskedType
|
1090
1122
|
xml_accessor :driversLicense, :as => DriversLicenseMaskedType
|
1091
1123
|
xml_accessor :taxId
|
1124
|
+
xml_accessor :subscriptionIds, :as => SubscriptionIdList
|
1092
1125
|
|
1093
|
-
def initialize(customerType = nil, billTo = nil, customerProfileId = nil, customerPaymentProfileId = nil, payment = nil, driversLicense = nil, taxId = nil)
|
1126
|
+
def initialize(customerType = nil, billTo = nil, customerProfileId = nil, customerPaymentProfileId = nil, payment = nil, driversLicense = nil, taxId = nil, subscriptionIds = nil)
|
1094
1127
|
@customerType = customerType
|
1095
1128
|
@billTo = billTo
|
1096
1129
|
@customerProfileId = customerProfileId
|
@@ -1098,9 +1131,10 @@ end
|
|
1098
1131
|
@payment = payment
|
1099
1132
|
@driversLicense = driversLicense
|
1100
1133
|
@taxId = taxId
|
1134
|
+
@subscriptionIds = subscriptionIds
|
1101
1135
|
end
|
1102
1136
|
end
|
1103
|
-
|
1137
|
+
|
1104
1138
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerProfileBaseType
|
1105
1139
|
# merchantCustomerId - SOAP::SOAPString
|
1106
1140
|
# description - SOAP::SOAPString
|
@@ -2667,18 +2701,21 @@ end
|
|
2667
2701
|
# messages - MessagesType
|
2668
2702
|
# sessionToken - SOAP::SOAPString
|
2669
2703
|
# subscriptionId - (any)
|
2704
|
+
# profile - CustomerProfileIdType
|
2670
2705
|
class ARBCreateSubscriptionResponse
|
2671
2706
|
include ROXML
|
2672
2707
|
xml_accessor :refId
|
2673
2708
|
xml_accessor :messages, :as => MessagesType
|
2674
2709
|
xml_accessor :sessionToken
|
2675
2710
|
xml_accessor :subscriptionId
|
2711
|
+
xml_accessor :profile, :as => CustomerProfileIdType
|
2676
2712
|
|
2677
|
-
def initialize(refId = nil, messages = nil, sessionToken = nil, subscriptionId = nil)
|
2713
|
+
def initialize(refId = nil, messages = nil, sessionToken = nil, subscriptionId = nil, profile = nil)
|
2678
2714
|
@refId = refId
|
2679
2715
|
@messages = messages
|
2680
2716
|
@sessionToken = sessionToken
|
2681
2717
|
@subscriptionId = subscriptionId
|
2718
|
+
@profile = profile
|
2682
2719
|
end
|
2683
2720
|
end
|
2684
2721
|
|
@@ -2706,16 +2743,19 @@ end
|
|
2706
2743
|
# refId - SOAP::SOAPString
|
2707
2744
|
# messages - MessagesType
|
2708
2745
|
# sessionToken - SOAP::SOAPString
|
2746
|
+
# profile - CustomerProfileIdType
|
2709
2747
|
class ARBUpdateSubscriptionResponse
|
2710
2748
|
include ROXML
|
2711
2749
|
xml_accessor :refId
|
2712
2750
|
xml_accessor :messages, :as => MessagesType
|
2713
2751
|
xml_accessor :sessionToken
|
2752
|
+
xml_accessor :profile, :as => CustomerProfileIdType
|
2714
2753
|
|
2715
|
-
def initialize(refId = nil, messages = nil, sessionToken = nil)
|
2754
|
+
def initialize(refId = nil, messages = nil, sessionToken = nil, profile = nil)
|
2716
2755
|
@refId = refId
|
2717
2756
|
@messages = messages
|
2718
2757
|
@sessionToken = sessionToken
|
2758
|
+
@profile = profile
|
2719
2759
|
end
|
2720
2760
|
end
|
2721
2761
|
|
@@ -2935,16 +2975,22 @@ end
|
|
2935
2975
|
# merchantAuthentication - MerchantAuthenticationType
|
2936
2976
|
# refId - SOAP::SOAPString
|
2937
2977
|
# transId - (any)
|
2978
|
+
# customer - CustomerProfileBaseType
|
2979
|
+
# customerProfileId - NumericStringsType
|
2938
2980
|
class CreateCustomerProfileFromTransactionRequest
|
2939
2981
|
include ROXML
|
2940
2982
|
xml_accessor :merchantAuthentication, :as => MerchantAuthenticationType
|
2941
2983
|
xml_accessor :refId
|
2942
2984
|
xml_accessor :transId
|
2985
|
+
xml_accessor :customer, :as => CustomerProfileBaseType
|
2986
|
+
xml_accessor :customerProfileId, :as => NumericStringsType
|
2943
2987
|
|
2944
|
-
def initialize(merchantAuthentication = nil, refId = nil, transId = nil)
|
2988
|
+
def initialize(merchantAuthentication = nil, refId = nil, transId = nil, customer = nil, customerProfileId = nil)
|
2945
2989
|
@merchantAuthentication = merchantAuthentication
|
2946
2990
|
@refId = refId
|
2947
2991
|
@transId = transId
|
2992
|
+
@customer = customer
|
2993
|
+
@customerProfileId = customerProfileId
|
2948
2994
|
end
|
2949
2995
|
end
|
2950
2996
|
|
@@ -2970,18 +3016,21 @@ end
|
|
2970
3016
|
# messages - MessagesType
|
2971
3017
|
# sessionToken - SOAP::SOAPString
|
2972
3018
|
# profile - CustomerProfileMaskedType
|
3019
|
+
# subscriptionIds - SubscriptionIdList
|
2973
3020
|
class GetCustomerProfileResponse
|
2974
3021
|
include ROXML
|
2975
3022
|
xml_accessor :refId
|
2976
3023
|
xml_accessor :messages, :as => MessagesType
|
2977
3024
|
xml_accessor :sessionToken
|
2978
3025
|
xml_accessor :profile, :as => CustomerProfileMaskedType
|
3026
|
+
xml_accessor :subscriptionIds, :as => SubscriptionIdList
|
2979
3027
|
|
2980
|
-
def initialize(refId = nil, messages = nil, sessionToken = nil, profile = nil)
|
3028
|
+
def initialize(refId = nil, messages = nil, sessionToken = nil, profile = nil, subscriptionIds = nil)
|
2981
3029
|
@refId = refId
|
2982
3030
|
@messages = messages
|
2983
3031
|
@sessionToken = sessionToken
|
2984
3032
|
@profile = profile
|
3033
|
+
@subscriptionIds = subscriptionIds
|
2985
3034
|
end
|
2986
3035
|
end
|
2987
3036
|
|
@@ -3053,18 +3102,21 @@ end
|
|
3053
3102
|
# messages - MessagesType
|
3054
3103
|
# sessionToken - SOAP::SOAPString
|
3055
3104
|
# address - CustomerAddressExType
|
3105
|
+
# subscriptionIds - SubscriptionIdList
|
3056
3106
|
class GetCustomerShippingAddressResponse
|
3057
3107
|
include ROXML
|
3058
3108
|
xml_accessor :refId
|
3059
3109
|
xml_accessor :messages, :as => MessagesType
|
3060
3110
|
xml_accessor :sessionToken
|
3061
3111
|
xml_accessor :address
|
3112
|
+
xml_accessor :subscriptionIds, :as => SubscriptionIdList
|
3062
3113
|
|
3063
|
-
def initialize(refId = nil, messages = nil, sessionToken = nil, address = nil)
|
3114
|
+
def initialize(refId = nil, messages = nil, sessionToken = nil, address = nil, subscriptionIds = nil)
|
3064
3115
|
@refId = refId
|
3065
3116
|
@messages = messages
|
3066
3117
|
@sessionToken = sessionToken
|
3067
3118
|
@address = address
|
3119
|
+
@subscriptionIds = subscriptionIds
|
3068
3120
|
end
|
3069
3121
|
end
|
3070
3122
|
|
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.
|
4
|
+
version: 1.8.9
|
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-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|