PayUSIParams

Object of class PayUSIParams can be made as below:

Swift
Objective-C
Swift
let siParam = PayUSIParams(billingAmount: <#T##String#>,
paymentStartDate: <#T##Date#>,
paymentEndDate: <#T##Date#>,
billingCycle: <#T##PayUBillingCycle#>,
billingInterval: <#T##NSNumber#>,
billingLimit: <#T##PayuBillingLimit#>,
billingRule: <#T##PayuBillingRule#>)
Objective-C
PayUSIParams *siParam = [[PayUSIParams alloc] initWithBillingAmount:<#(NSString * _Nonnull)#>
paymentStartDate:<#(NSDate * _Nonnull)#>
paymentEndDate:<#(NSDate * _Nonnull)#>
billingCycle:<#(enum PayUBillingCycle)#>
billingInterval:<#(NSNumber * _Nonnull)#>];

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’