Package com.checkout.accounts
Class PaymentInstrumentRequest.PaymentInstrumentRequestBuilder
- java.lang.Object
-
- com.checkout.accounts.PaymentInstrumentRequest.PaymentInstrumentRequestBuilder
-
- Enclosing class:
- PaymentInstrumentRequest
public static class PaymentInstrumentRequest.PaymentInstrumentRequestBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PaymentInstrumentRequestbuild()PaymentInstrumentRequest.PaymentInstrumentRequestBuildercountry(CountryCode country)PaymentInstrumentRequest.PaymentInstrumentRequestBuildercurrency(Currency currency)PaymentInstrumentRequest.PaymentInstrumentRequestBuilderdefaultDestination(java.lang.Boolean defaultDestination)PaymentInstrumentRequest.PaymentInstrumentRequestBuilderdocument(InstrumentDocument document)PaymentInstrumentRequest.PaymentInstrumentRequestBuilderinstrumentDetails(InstrumentDetails instrumentDetails)PaymentInstrumentRequest.PaymentInstrumentRequestBuilderlabel(java.lang.String label)java.lang.StringtoString()PaymentInstrumentRequest.PaymentInstrumentRequestBuildertype(InstrumentType type)
-
-
-
Method Detail
-
label
public PaymentInstrumentRequest.PaymentInstrumentRequestBuilder label(java.lang.String label)
- Returns:
this.
-
type
public PaymentInstrumentRequest.PaymentInstrumentRequestBuilder type(InstrumentType type)
- Returns:
this.
-
currency
public PaymentInstrumentRequest.PaymentInstrumentRequestBuilder currency(Currency currency)
- Returns:
this.
-
country
public PaymentInstrumentRequest.PaymentInstrumentRequestBuilder country(CountryCode country)
- Returns:
this.
-
defaultDestination
public PaymentInstrumentRequest.PaymentInstrumentRequestBuilder defaultDestination(java.lang.Boolean defaultDestination)
- Returns:
this.
-
document
public PaymentInstrumentRequest.PaymentInstrumentRequestBuilder document(InstrumentDocument document)
- Returns:
this.
-
instrumentDetails
public PaymentInstrumentRequest.PaymentInstrumentRequestBuilder instrumentDetails(InstrumentDetails instrumentDetails)
- Returns:
this.
-
build
public PaymentInstrumentRequest build()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-