init(billType:paymentStatus:billPayee:amountDue:minimumDue:lateFee:dueDate:paymentDate:)
Initializes a bill details object with information about the bill to pay.
Declaration
init?(billType: INBillType, paymentStatus: INPaymentStatus, billPayee: INBillPayee?, amountDue: INCurrencyAmount?, minimumDue: INCurrencyAmount?, lateFee: INCurrencyAmount?, dueDate: DateComponents?, paymentDate: DateComponents?)Parameters
- billType:
The type of the bill.
- paymentStatus:
A constant indicating the current status of the bill, such as whether the bill is pending.
- billPayee:
The originator of the bill and the recipient of any funds applied to the bill payment.
- amountDue:
The total amount of the bill.
- minimumDue:
The minimum amount that the user must pay toward the bill.
- lateFee:
The fee applied if the user pays the bill after the due date.
- dueDate:
The date on which the bill is due.
- paymentDate:
The date on which payment occured.
Return Value
An initialized bill details object or nil if the object could not be created.