Skip to content

Commit

Permalink
MErging from master
Browse files Browse the repository at this point in the history
  • Loading branch information
ramittal committed Nov 21, 2017
2 parents 10c17f9 + e67f9b5 commit 5df7d1a
Show file tree
Hide file tree
Showing 26 changed files with 1,140 additions and 316 deletions.
348 changes: 294 additions & 54 deletions Authorize.NET/Api/Contracts/V1/AnetApiSchema.generated.cs

Large diffs are not rendered by default.

78 changes: 75 additions & 3 deletions Authorize.NET/Api/Contracts/V1/RequestFactoryWithSpecified.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ public static void transactionSummaryType(transactionSummaryType argument)
subscriptionPaymentType(argument.subscription);
if (argument.hasReturnedItems) { argument.hasReturnedItemsSpecified = true; }
fraudInformationType(argument.fraudInformation);
customerProfileIdType(argument.profile);
}
}
public static void subscriptionPaymentType(subscriptionPaymentType argument)
Expand Down Expand Up @@ -215,6 +216,12 @@ public static void settingType(settingType argument)
if (null != argument)
{
}
}
public static void subMerchantType(subMerchantType argument)
{
if(null != argument)
{
}
}
public static void emailSettingsType(emailSettingsType argument)
{
Expand Down Expand Up @@ -279,6 +286,9 @@ public static void transactionRequestType(transactionRequestType argument)
transRetailInfoType(argument.retail);
if (null != argument.transactionSettings) { foreach (var value in argument.transactionSettings) { settingType(value); } }
if (null != argument.userFields) { foreach (var value in argument.userFields) { userField(value); } }
extendedAmountType(argument.surcharge);
subMerchantType(argument.subMerchant);
extendedAmountType(argument.tip);
}
}
public static void paymentType(paymentType argument)
Expand Down Expand Up @@ -517,7 +527,10 @@ public static void transactionDetailsType(transactionDetailsType argument)
solutionType(argument.solution);

if(null != argument.emvDetails){ foreach( var value in argument.emvDetails) { transactionDetailsTypeTag(value);} }


customerProfileIdType(argument.profile);
extendedAmountType(argument.surcharge);
extendedAmountType(argument.tip);
}
}
public static void paymentMaskedType(paymentMaskedType argument)
Expand Down Expand Up @@ -574,6 +587,7 @@ public static void transactionResponse(transactionResponse argument)
nameAndAddressType(argument.shipTo);
transactionResponseSecureAcceptance(argument.secureAcceptance);
transactionResponseEmvResponse(argument.emvResponse);
customerProfileIdType(argument.profile);
}
}

Expand Down Expand Up @@ -760,6 +774,12 @@ public static void customerProfileType(customerProfileType argument)
if (null != argument.paymentProfiles) { foreach (var value in argument.paymentProfiles) { customerPaymentProfileType(value); } }
if (null != argument.shipToList) { foreach (var value in argument.shipToList) { customerAddressType(value); } }
}
}
public static void securePaymentContainerErrorType(securePaymentContainerErrorType argument)
{
if(null != argument)
{
}
}
public static void customerType(customerType argument)
{
Expand Down Expand Up @@ -836,6 +856,7 @@ public static void impersonationAuthenticationType(impersonationAuthenticationTy
{
}
}

public static void merchantAuthenticationType(merchantAuthenticationType argument)
{
if (null != argument)
Expand Down Expand Up @@ -870,6 +891,33 @@ public static void ANetApiResponse(ANetApiResponse argument)
{
messagesType(argument.messages);
}
}
public static void securePaymentContainerRequest(securePaymentContainerRequest argument)
{
if(null != argument)
{
webCheckOutDataType(argument.data);
}
}
public static void securePaymentContainerResponse(securePaymentContainerResponse argument)
{
if(null != argument)
{
opaqueDataType(argument.opaqueData);
}
}
public static void webCheckOutDataType(webCheckOutDataType argument)
{
if (null != argument)
{
webCheckOutDataTypeToken(argument.token);
}
}
public static void webCheckOutDataTypeToken(webCheckOutDataTypeToken argument)
{
if (null != argument)
{
}
}
public static void isAliveRequest(isAliveRequest argument)
{
Expand Down Expand Up @@ -1014,6 +1062,8 @@ public static void getCustomerProfileRequest(getCustomerProfileRequest argument)
if (null != argument)
{
if(argument.unmaskExpirationDate) { argument.unmaskExpirationDateSpecified=true;}
if(argument.includeIssuerInfo) { argument.includeIssuerInfoSpecified=true;}

}
}
public static void getCustomerProfileResponse(getCustomerProfileResponse argument)
Expand All @@ -1027,6 +1077,8 @@ public static void getCustomerPaymentProfileRequest(getCustomerPaymentProfileReq
{
if (null != argument)
{
if(argument.includeIssuerInfo) { argument.includeIssuerInfoSpecified=true;}

}
}
public static void getCustomerPaymentProfileResponse(getCustomerPaymentProfileResponse argument)
Expand Down Expand Up @@ -1417,7 +1469,7 @@ public static void EnumCollection(EnumCollection argument)
{
customerProfileSummaryType(argument.customerProfileSummaryType);
paymentSimpleType(argument.paymentSimpleType);
}
}
}

public static void auDetailsType(auDetailsType argument)
Expand Down Expand Up @@ -1505,7 +1557,27 @@ public static void getMerchantDetailsResponse(getMerchantDetailsResponse argumen
}
}

}
public static void getTransactionListForCustomerRequest(getTransactionListForCustomerRequest argument)
{
if(null != argument)
{
TransactionListSorting(argument.sorting);
Paging(argument.paging);
}
}
public static void updateMerchantDetailsRequest(updateMerchantDetailsRequest argument)
{
if (null != argument)
{
}
}
public static void updateMerchantDetailsResponse(updateMerchantDetailsResponse argument)
{
if (null != argument)
{
}
}
}


// ReSharper restore InconsistentNaming
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ namespace AuthorizeNet.Api.Contracts.V1
{
if(null != argument)
{
[System.Xml.Serialization.XmlArrayItemAttribute("cardType")]
}
}
public static void auDetailsType(auDetailsType argument)
Expand Down Expand Up @@ -83,12 +84,6 @@ namespace AuthorizeNet.Api.Contracts.V1
long(argument.profileCount);
}
}
public static void customerProfileIdType(customerProfileIdType argument)
{
if(null != argument)
{
}
}
public static void customerPaymentProfileListItemType(customerPaymentProfileListItemType argument)
{
if(null != argument)
Expand Down Expand Up @@ -219,6 +214,7 @@ namespace AuthorizeNet.Api.Contracts.V1
nameAndAddressType(argument.shipTo);
transactionResponseSecureAcceptance(argument.secureAcceptance);
transactionResponseEmvResponse(argument.emvResponse);
customerProfileIdType(argument.profile);
}
}
public static void transactionResponsePrePaidCard(transactionResponsePrePaidCard argument)
Expand Down Expand Up @@ -270,6 +266,12 @@ namespace AuthorizeNet.Api.Contracts.V1
{
}
}
public static void customerProfileIdType(customerProfileIdType argument)
{
if(null != argument)
{
}
}
public static void returnedItemType(returnedItemType argument)
{
if(null != argument)
Expand Down Expand Up @@ -299,6 +301,9 @@ namespace AuthorizeNet.Api.Contracts.V1
if(null != argument.returnedItems){ foreach( var value in argument.returnedItems) { returnedItemType(value);} }
solutionType(argument.solution);
if(null != argument.emvDetails){ foreach( var value in argument.emvDetails) { transactionDetailsTypeTag(value);} }
customerProfileIdType(argument.profile);
extendedAmountType(argument.surcharge);
extendedAmountType(argument.tip);
}
}
public static void subscriptionPaymentType(subscriptionPaymentType argument)
Expand Down Expand Up @@ -502,6 +507,9 @@ namespace AuthorizeNet.Api.Contracts.V1
transRetailInfoType(argument.retail);
if(null != argument.transactionSettings){ foreach( var value in argument.transactionSettings) { settingType(value);} }
if(null != argument.userFields){ foreach( var value in argument.userFields) { userField(value);} }
extendedAmountType(argument.surcharge);
subMerchantType(argument.subMerchant);
extendedAmountType(argument.tip);
}
}
public static void paymentType(paymentType argument)
Expand Down Expand Up @@ -635,6 +643,12 @@ transRetailInfoType() {
{
}
}
public static void subMerchantType(subMerchantType argument)
{
if(null != argument)
{
}
}
public static void mobileDeviceType(mobileDeviceType argument)
{
if(null != argument)
Expand Down Expand Up @@ -733,6 +747,7 @@ transRetailInfoType() {
if(argument.status) { argument.statusSpecified=true;}
subscriptionCustomerProfileType(argument.profile);
orderType(argument.order);
if(null != argument.arbTransactions){ foreach( var value in argument.arbTransactions) { arbTransaction(value);} }
}
}
public static void paymentScheduleType(paymentScheduleType argument)
Expand All @@ -751,6 +766,15 @@ transRetailInfoType() {
{
}
}
public static void arbTransaction(arbTransaction argument)
{
if(null != argument)
{
if(argument.submitTimeUTC) { argument.submitTimeUTCSpecified=true;}
if(argument.payNum) { argument.payNumSpecified=true;}
if(argument.attemptNum) { argument.attemptNumSpecified=true;}
}
}
public static void securePaymentContainerErrorType(securePaymentContainerErrorType argument)
{
if(null != argument)
Expand Down Expand Up @@ -812,6 +836,7 @@ transRetailInfoType() {
subscriptionPaymentType(argument.subscription);
if(argument.hasReturnedItems) { argument.hasReturnedItemsSpecified=true;}
fraudInformationType(argument.fraudInformation);
customerProfileIdType(argument.profile);
}
}
public static void ARBSubscriptionType(ARBSubscriptionType argument)
Expand All @@ -829,17 +854,18 @@ transRetailInfoType() {
customerProfileIdType(argument.profile);
}
}
public static void webCheckOutDataType(webCheckOutDataType argument)
public static void webCheckOutDataTypeToken(webCheckOutDataTypeToken argument)
{
if(null != argument)
{
webCheckOutDataTypeToken(argument.token);
}
}
public static void webCheckOutDataTypeToken(webCheckOutDataTypeToken argument)
public static void webCheckOutDataType(webCheckOutDataType argument)
{
if(null != argument)
{
webCheckOutDataTypeToken(argument.token);
bankAccountType(argument.bankToken);
}
}
public static void paymentDetails(paymentDetails argument)
Expand Down Expand Up @@ -1039,6 +1065,7 @@ transRetailInfoType() {
if(null != argument)
{
if(argument.unmaskExpirationDate) { argument.unmaskExpirationDateSpecified=true;}
if(argument.includeIssuerInfo) { argument.includeIssuerInfoSpecified=true;}
}
}
public static void getCustomerProfileResponse(getCustomerProfileResponse argument)
Expand All @@ -1053,6 +1080,7 @@ transRetailInfoType() {
if(null != argument)
{
if(argument.unmaskExpirationDate) { argument.unmaskExpirationDateSpecified=true;}
if(argument.includeIssuerInfo) { argument.includeIssuerInfoSpecified=true;}
}
}
public static void getCustomerPaymentProfileResponse(getCustomerPaymentProfileResponse argument)
Expand Down Expand Up @@ -1409,6 +1437,7 @@ transRetailInfoType() {
{
customerProfileSummaryType(argument.customerProfileSummaryType);
paymentSimpleType(argument.paymentSimpleType);
typeEmailReceipt,
}
}
public static void getCustomerPaymentProfileListRequest(getCustomerPaymentProfileListRequest argument)
Expand All @@ -1430,6 +1459,7 @@ transRetailInfoType() {
{
if(null != argument)
{
if(argument.includeTransactions) { argument.includeTransactionsSpecified=true;}
}
}
public static void ARBGetSubscriptionResponse(ARBGetSubscriptionResponse argument)
Expand All @@ -1439,6 +1469,14 @@ transRetailInfoType() {
ARBSubscriptionMaskedType(argument.subscription);
}
}
public static void getTransactionListForCustomerRequest(getTransactionListForCustomerRequest argument)
{
if(null != argument)
{
TransactionListSorting(argument.sorting);
Paging(argument.paging);
}
}
public static void getAUJobSummaryRequest(getAUJobSummaryRequest argument)
{
if(null != argument)
Expand Down Expand Up @@ -1486,6 +1524,18 @@ transRetailInfoType() {
System.Nullable<
}
}
public static void updateMerchantDetailsRequest(updateMerchantDetailsRequest argument)
{
if(null != argument)
{
}
}
public static void updateMerchantDetailsResponse(updateMerchantDetailsResponse argument)
{
if(null != argument)
{
}
}
}
// ReSharper restore InconsistentNaming
#pragma warning restore 1591
Expand Down
1 change: 0 additions & 1 deletion Authorize.NET/Api/Controllers/getAUJobDetailsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ override protected void ValidateRequest() {
protected override void BeforeExecute()
{
var request = GetApiRequest();
RequestFactoryWithSpecified.getAUJobDetailsType(request);
}
}
#pragma warning restore 1591
Expand Down
1 change: 0 additions & 1 deletion Authorize.NET/Api/Controllers/getAUJobSummaryController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ override protected void ValidateRequest() {
protected override void BeforeExecute()
{
var request = GetApiRequest();
RequestFactoryWithSpecified.getAUJobSummaryType(request);
}
}
#pragma warning restore 1591
Expand Down
Loading

0 comments on commit 5df7d1a

Please sign in to comment.