Builder

class Builder

A builder for Statement.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Sets Builder.availableCredit to an arbitrary JSON value.

fun availableCredit(availableCredit: Long): Statement.Builder

Amount of credit available to spend in cents

Link copied to clipboard

Returns an immutable instance of Statement.

Link copied to clipboard

Sets Builder.created to an arbitrary JSON value.

Timestamp of when the statement was created

Link copied to clipboard

Sets Builder.creditLimit to an arbitrary JSON value.

This is the maximum credit balance extended by the lender in cents

Link copied to clipboard

Sets Builder.creditProductToken to an arbitrary JSON value.

fun creditProductToken(creditProductToken: String): Statement.Builder

Globally unique identifier for a credit product

Link copied to clipboard

Sets Builder.daysInBillingCycle to an arbitrary JSON value.

fun daysInBillingCycle(daysInBillingCycle: Long): Statement.Builder

Number of days in the billing cycle

Link copied to clipboard

Sets Builder.endingBalance to an arbitrary JSON value.

fun endingBalance(endingBalance: Long): Statement.Builder

Balance at the end of the billing period. For charge cards, this should be the same at the statement amount due in cents

Link copied to clipboard

Sets Builder.financialAccountToken to an arbitrary JSON value.

fun financialAccountToken(financialAccountToken: String): Statement.Builder

Globally unique identifier for a financial account

Link copied to clipboard
Link copied to clipboard

Sets Builder.nextPaymentDueDate to an arbitrary JSON value.

Date when the next payment is due

Link copied to clipboard

Sets Builder.nextStatementEndDate to an arbitrary JSON value.

Date when the next billing period will end

Link copied to clipboard

Sets Builder.paymentDueDate to an arbitrary JSON value.

Date when the payment is due

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Sets Builder.startingBalance to an arbitrary JSON value.

fun startingBalance(startingBalance: Long): Statement.Builder

Balance at the start of the billing period

Link copied to clipboard

Sets Builder.statementEndDate to an arbitrary JSON value.

Date when the billing period ended

Link copied to clipboard

Sets Builder.statementStartDate to an arbitrary JSON value.

Date when the billing period began

Link copied to clipboard
Link copied to clipboard

Sets Builder.token to an arbitrary JSON value.

Globally unique identifier for a statement

Link copied to clipboard

Sets Builder.updated to an arbitrary JSON value.

Timestamp of when the statement was updated

Link copied to clipboard