PayUSIParams
Object of class PayUSIParams can be made as below:
Swift
Objective-C
1
let siParam = PayUSIParams(billingAmount: <#T##String#>,
2
paymentStartDate: <#T##Date#>,
3
paymentEndDate: <#T##Date#>,
4
billingCycle: <#T##PayUBillingCycle#>,
5
billingInterval: <#T##NSNumber#>,
6
billingLimit: <#T##PayuBillingLimit#>,
7
billingRule: <#T##PayuBillingRule#>)
8
Copied!
1
PayUSIParams *siParam = [[PayUSIParams alloc] initWithBillingAmount:<#(NSString * _Nonnull)#>
2
paymentStartDate:<#(NSDate * _Nonnull)#>
3
paymentEndDate:<#(NSDate * _Nonnull)#>
4
billingCycle:<#(enum PayUBillingCycle)#>
5
billingInterval:<#(NSNumber * _Nonnull)#>];
Copied!

SIParam definition

Parameter
Type
Description
billingAmount
String
Billing amount
paymentStartDate
Date
Start date of recurring payment
paymentEndDate
Date
End date of recurring payment
billingCycle
PayUBillingCycle
Billing Cycle defines whether customer needs to be charged over Daily, Weekly basis, Monthly or Yearly basis or one time
billingInterval
NSNumber
Billing Interval is closely coupled with value of “billingCycle” and denotes at what frequency, the subscription plan needs to be executed.
billingLimit
PayuBillingLimit
Applicable for UPI only : This parameter is used to decide the period corresponding which the debit from the mandate recurring date can happen and this mandate registeration date is confirmed during registration transaction of UPI.
Possible values :
•ON = On the specific date
•BEFORE = Before and On the specific date
•AFTER = After and on the specific date
If no value is passed, then by default this is considered as ‘AFTER’
billingRule
PayuBillingRule
Applicable for UPI only : this parameter is used to decide the limitation on the amount of recurring debit against the mandate amount which is set during registration transaction of UPI
Possible values :
•MAX = Maximum amount. Lesser than this or equal to this amount can be debited in recurring debits
•EXACT= Exact to this amount can be debited in recurring debits
If no value is passed, then by default this is considered as ‘MAX’
Last modified 2mo ago
Copy link