File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Authorize.NET/Api/Contracts/V1 Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -725,15 +725,24 @@ public static void ARBSubscriptionType(ARBSubscriptionType argument)
725
725
if ( null != argument )
726
726
{
727
727
paymentScheduleType ( argument . paymentSchedule ) ;
728
- if ( 0 <= argument . amount ) { argument . amountSpecified = true ; }
729
- if ( 0 <= argument . trialAmount ) { argument . trialAmountSpecified = true ; }
728
+ if ( 0 < argument . amount ) { argument . amountSpecified = true ; }
729
+
730
730
paymentType ( argument . payment ) ;
731
731
orderType ( argument . order ) ;
732
732
customerType ( argument . customer ) ;
733
733
nameAndAddressType ( argument . billTo ) ;
734
734
nameAndAddressType ( argument . shipTo ) ;
735
735
}
736
736
}
737
+
738
+ public static void ARBSubscriptionTypeSetTrialAmountSpecified ( ARBSubscriptionType argument )
739
+ {
740
+ if ( null != argument )
741
+ {
742
+ if ( 0 <= argument . trialAmount ) { argument . trialAmountSpecified = true ; }
743
+ }
744
+ }
745
+
737
746
public static void paymentDetails ( paymentDetails argument )
738
747
{
739
748
if ( null != argument )
@@ -826,6 +835,7 @@ public static void ARBCreateSubscriptionRequest(ARBCreateSubscriptionRequest arg
826
835
if ( null != argument )
827
836
{
828
837
ARBSubscriptionType ( argument . subscription ) ;
838
+ ARBSubscriptionTypeSetTrialAmountSpecified ( argument . subscription ) ;
829
839
}
830
840
}
831
841
public static void ARBCreateSubscriptionResponse ( ARBCreateSubscriptionResponse argument )
You can’t perform that action at this time.
0 commit comments