Skip to content

Commit f9c2099

Browse files
committed
Q4 SDK updates
1 parent 3c310c5 commit f9c2099

13 files changed

+1397
-5
lines changed

Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs

Lines changed: 408 additions & 1 deletion
Large diffs are not rendered by default.

Authorize.NET/Api/Contracts/V1/RequestFactoryWithSpecified.cs

Lines changed: 96 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,19 @@ public static void opaqueDataType(opaqueDataType argument)
3030
{
3131
}
3232
}
33+
34+
public static void processorType(processorType argument)
35+
{
36+
if(null != argument)
37+
{
38+
}
39+
}
3340

3441
public static void customerPaymentProfileListItemType(customerPaymentProfileListItemType argument)
3542
{
3643
if (null != argument)
3744
{
45+
if(argument.defaultPaymentProfile) { argument.defaultPaymentProfileSpecified=true;}
3846
customerAddressType(argument.billTo);
3947
paymentMaskedType(argument.payment);
4048
}
@@ -119,6 +127,21 @@ public static void Paging(Paging argument)
119127
{
120128
}
121129
}
130+
131+
public static void TransactionListSorting(TransactionListSorting argument)
132+
{
133+
if(null != argument)
134+
{
135+
(argument.orderDescending);
136+
}
137+
}
138+
public static void heldTransactionRequestType(heldTransactionRequestType argument)
139+
{
140+
if(null != argument)
141+
{
142+
}
143+
}
144+
122145
public static void ARBGetSubscriptionListSorting(ARBGetSubscriptionListSorting argument)
123146
{
124147
if (null != argument)
@@ -151,7 +174,8 @@ public static void transactionSummaryType(transactionSummaryType argument)
151174
{
152175
subscriptionPaymentType(argument.subscription);
153176
if (argument.hasReturnedItems) { argument.hasReturnedItemsSpecified = true; }
154-
}
177+
fraudInformationType(argument.fraudInformation);
178+
}
155179
}
156180
public static void subscriptionPaymentType(subscriptionPaymentType argument)
157181
{
@@ -199,6 +223,14 @@ public static void emailSettingsType(emailSettingsType argument)
199223
ArrayOfSetting(argument);
200224
}
201225
}
226+
227+
public static void fraudInformationType(fraudInformationType argument)
228+
{
229+
if(null != argument)
230+
{
231+
}
232+
}
233+
202234
public static void transRetailInfoType(transRetailInfoType argument)
203235
{
204236
if (null != argument)
@@ -676,6 +708,7 @@ public static void customerPaymentProfileMaskedType(customerPaymentProfileMasked
676708
if (null != argument)
677709
{
678710
customerPaymentProfileBaseType(argument);
711+
if(argument.defaultPaymentProfile) { argument.defaultPaymentProfileSpecified=true;}
679712
paymentMaskedType(argument.payment);
680713
driversLicenseMaskedType(argument.driversLicense);
681714
}
@@ -687,6 +720,7 @@ public static void customerPaymentProfileType(customerPaymentProfileType argumen
687720
customerPaymentProfileBaseType(argument);
688721
paymentType(argument.payment);
689722
driversLicenseType(argument.driversLicense);
723+
if(argument.defaultPaymentProfile) { argument.defaultPaymentProfileSpecified=true;}
690724
}
691725
}
692726
public static void customerPaymentProfileExType(customerPaymentProfileExType argument)
@@ -707,6 +741,8 @@ public static void customerProfileExType(customerProfileExType argument)
707741
if (null != argument)
708742
{
709743
customerProfileBaseType(argument);
744+
if(argument.defaultPaymentProfile) { argument.defaultPaymentProfileSpecified=true;}
745+
if(argument.defaultShippingAddress) { argument.defaultShippingAddressSpecified=true;}
710746
}
711747
}
712748
public static void customerProfileMaskedType(customerProfileMaskedType argument)
@@ -1010,6 +1046,7 @@ public static void getCustomerShippingAddressResponse(getCustomerShippingAddress
10101046
{
10111047
if (null != argument)
10121048
{
1049+
if(argument.defaultShippingAddress) { argument.defaultShippingAddressSpecified=true;}
10131050
customerAddressExType(argument.address);
10141051
}
10151052
}
@@ -1045,7 +1082,8 @@ public static void updateCustomerShippingAddressRequest(updateCustomerShippingAd
10451082
if (null != argument)
10461083
{
10471084
customerAddressExType(argument.address);
1048-
}
1085+
if(argument.defaultShippingAddress) { argument.defaultShippingAddressSpecified=true;}
1086+
}
10491087
}
10501088
public static void updateCustomerShippingAddressResponse(updateCustomerShippingAddressResponse argument)
10511089
{
@@ -1167,6 +1205,22 @@ public static void createTransactionResponse(createTransactionResponse argument)
11671205
createProfileResponse(argument.profileResponse);
11681206
}
11691207
}
1208+
1209+
public static void updateHeldTransactionRequest(updateHeldTransactionRequest argument)
1210+
{
1211+
if(null != argument)
1212+
{
1213+
heldTransactionRequestType(argument.heldTransactionRequest);
1214+
}
1215+
}
1216+
public static void updateHeldTransactionResponse(updateHeldTransactionResponse argument)
1217+
{
1218+
if(null != argument)
1219+
{
1220+
transactionResponse(argument.transactionResponse);
1221+
}
1222+
}
1223+
11701224
public static void getBatchStatisticsRequest(getBatchStatisticsRequest argument)
11711225
{
11721226
if (null != argument)
@@ -1200,13 +1254,16 @@ public static void getTransactionListRequest(getTransactionListRequest argument)
12001254
{
12011255
if (null != argument)
12021256
{
1257+
TransactionListSorting(argument.sorting);
1258+
Paging(argument.paging);
12031259
}
12041260
}
12051261
public static void getTransactionListResponse(getTransactionListResponse argument)
12061262
{
12071263
if (null != argument)
12081264
{
12091265
if (null != argument.transactions) { foreach (var value in argument.transactions) { transactionSummaryType(value); } }
1266+
if(argument.totalNumInResultSet) { argument.totalNumInResultSetSpecified=true;}
12101267
}
12111268
}
12121269
public static void getHostedProfilePageRequest(getHostedProfilePageRequest argument)
@@ -1225,14 +1282,34 @@ public static void getHostedProfilePageResponse(getHostedProfilePageResponse arg
12251282
public static void getUnsettledTransactionListRequest(getUnsettledTransactionListRequest argument)
12261283
{
12271284
if (null != argument)
1285+
{
1286+
if(argument.status) { argument.statusSpecified=true;}
1287+
TransactionListSorting(argument.sorting);
1288+
Paging(argument.paging);
1289+
}
1290+
}
1291+
1292+
public static void getHostedPaymentPageRequest(getHostedPaymentPageRequest argument)
1293+
{
1294+
if(null != argument)
1295+
{
1296+
transactionRequestType(argument.transactionRequest);
1297+
if(null != argument.hostedPaymentSettings){ foreach( var value in argument.hostedPaymentSettings) { settingType(value);} }
1298+
}
1299+
}
1300+
public static void getHostedPaymentPageResponse(getHostedPaymentPageResponse argument)
1301+
{
1302+
if(null != argument)
12281303
{
12291304
}
12301305
}
1306+
12311307
public static void getUnsettledTransactionListResponse(getUnsettledTransactionListResponse argument)
12321308
{
12331309
if (null != argument)
12341310
{
12351311
if (null != argument.transactions) { foreach (var value in argument.transactions) { transactionSummaryType(value); } }
1312+
if(argument.totalNumInResultSet) { argument.totalNumInResultSetSpecified=true;}
12361313
}
12371314
}
12381315
public static void mobileDeviceRegistrationRequest(mobileDeviceRegistrationRequest argument)
@@ -1412,8 +1489,24 @@ public static void getAUJobDetailsResponse(getAUJobDetailsResponse argument)
14121489
}
14131490
}
14141491

1492+
public static void getMerchantDetailsRequest(getMerchantDetailsRequest argument)
1493+
{
1494+
if(null != argument)
1495+
{
1496+
}
1497+
}
1498+
public static void getMerchantDetailsResponse(getMerchantDetailsResponse argument)
1499+
{
1500+
if(null != argument)
1501+
{
1502+
if(argument.isTestMode) { argument.isTestModeSpecified=true;}
1503+
if(null != argument.processors){ foreach( var value in argument.processors) { processorType(value);} }
1504+
}
1505+
}
1506+
14151507
}
1416-
1508+
1509+
14171510
// ReSharper restore InconsistentNaming
14181511
#pragma warning restore 1591
14191512
#pragma warning restore 169

0 commit comments

Comments
 (0)