# Builder

class Builder(localId: String, amountMoney: Money, status: Payment.OfflineStatus, locationId: String, sourceType: Payment.SourceType)

Builder class for constructing OfflinePayment objects.

This class is provided for testing purposes.

## Constructors

Builder
Link copied to clipboard
constructor(localId: String, amountMoney: Money, status: Payment.OfflineStatus, locationId: String, sourceType: Payment.SourceType)

## Functions

amount
Link copied to clipboard
fun amount(amountMoney: Money): <Error class: unknown class>
appFeeMoney
Link copied to clipboard
fun appFeeMoney(appFeeMoney: Money): <Error class: unknown class>
build
Link copied to clipboard
fun build(): Payment.OfflinePayment
cardDetails
Link copied to clipboard
fun cardDetails(cardDetails: CardPaymentDetails.OfflineCardPaymentDetails): <Error class: unknown class>
cashDetails
Link copied to clipboard
fun cashDetails(cashDetails: CashPaymentDetails): <Error class: unknown class>
createdAt
Link copied to clipboard
fun createdAt(createdAt: Date): <Error class: unknown class>
digitalWalletDetails
Link copied to clipboard
fun digitalWalletDetails(digitalWalletDetails: DigitalWalletDetails): <Error class: unknown class>
externalDetails
Link copied to clipboard
fun externalDetails(externalDetails: ExternalPaymentDetails): <Error class: unknown class>
id
Link copied to clipboard
fun id(id: String?): <Error class: unknown class>
localId
Link copied to clipboard
fun localId(id: String): <Error class: unknown class>
locationId
Link copied to clipboard
fun locationId(locationId: String): <Error class: unknown class>
orderId
Link copied to clipboard
fun orderId(orderId: String?): <Error class: unknown class>
referenceId
Link copied to clipboard
fun referenceId(referenceId: String?): <Error class: unknown class>
status
Link copied to clipboard
fun status(status: Payment.OfflineStatus): <Error class: unknown class>
tipMoney
Link copied to clipboard
fun tipMoney(tipMoney: Money): <Error class: unknown class>
updatedAt
Link copied to clipboard
fun updatedAt(updatedAt: Date): <Error class: unknown class>
uploadedAt
Link copied to clipboard
fun uploadedAt(uploadedAt: Date?): <Error class: unknown class>