Package com.stripe.param
Class InvoiceAttachPaymentParams.PaymentRecordData.Builder
java.lang.Object
com.stripe.param.InvoiceAttachPaymentParams.PaymentRecordData.Builder
- Enclosing class:
- InvoiceAttachPaymentParams.PaymentRecordData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putAllMetadata
(Map<String, String> map) Add all map key/value pairs to `metadata` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.putMetadata
(String key, String value) Add a key/value pair to `metadata` map.Required. The amount that was paid out of band.setCurrency
(String currency) Required. The currency that was paid out of band.setMetadata
(EmptyParam metadata) Set of key-value pairs that you can attach to an object.setMetadata
(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.setMoneyMovementType
(String moneyMovementType) Required. The type of money movement for this out of band payment record.The timestamp when this out of band payment was paid.setPaymentReference
(String paymentReference) The reference for this out of band payment record.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
Required. The amount that was paid out of band. -
setCurrency
Required. The currency that was paid out of band. -
putExtraParam
Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeInvoiceAttachPaymentParams.PaymentRecordData.extraParams
for the field documentation. -
putAllExtraParam
public InvoiceAttachPaymentParams.PaymentRecordData.Builder putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeInvoiceAttachPaymentParams.PaymentRecordData.extraParams
for the field documentation. -
putMetadata
Add a key/value pair to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeInvoiceAttachPaymentParams.PaymentRecordData.metadata
for the field documentation. -
putAllMetadata
Add all map key/value pairs to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeInvoiceAttachPaymentParams.PaymentRecordData.metadata
for the field documentation. -
setMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value tometadata
. -
setMetadata
public InvoiceAttachPaymentParams.PaymentRecordData.Builder setMetadata(Map<String, String> metadata) Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value tometadata
. -
setMoneyMovementType
public InvoiceAttachPaymentParams.PaymentRecordData.Builder setMoneyMovementType(String moneyMovementType) Required. The type of money movement for this out of band payment record. -
setPaidAt
The timestamp when this out of band payment was paid. -
setPaymentReference
public InvoiceAttachPaymentParams.PaymentRecordData.Builder setPaymentReference(String paymentReference) The reference for this out of band payment record.
-