Class PreapprovalCreateRequest.PreapprovalCreateRequestBuilder
- java.lang.Object
-
- com.mercadopago.client.preapproval.PreapprovalCreateRequest.PreapprovalCreateRequestBuilder
-
- Enclosing class:
- PreapprovalCreateRequest
public static class PreapprovalCreateRequest.PreapprovalCreateRequestBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PreapprovalCreateRequest.PreapprovalCreateRequestBuilder
autoRecurring(PreApprovalAutoRecurringCreateRequest autoRecurring)
Recurring data.PreapprovalCreateRequest.PreapprovalCreateRequestBuilder
backUrl(String backUrl)
Return URL.PreapprovalCreateRequest
build()
PreapprovalCreateRequest.PreapprovalCreateRequestBuilder
collectorId(String collectorId)
Seller ID.PreapprovalCreateRequest.PreapprovalCreateRequestBuilder
externalReference(String externalReference)
Preapproval reference value.PreapprovalCreateRequest.PreapprovalCreateRequestBuilder
payerEmail(String payerEmail)
Payer email.PreapprovalCreateRequest.PreapprovalCreateRequestBuilder
reason(String reason)
Preapproval title.PreapprovalCreateRequest.PreapprovalCreateRequestBuilder
status(String status)
Preapproval status.String
toString()
-
-
-
Method Detail
-
payerEmail
public PreapprovalCreateRequest.PreapprovalCreateRequestBuilder payerEmail(String payerEmail)
Payer email.- Returns:
this
.
-
backUrl
public PreapprovalCreateRequest.PreapprovalCreateRequestBuilder backUrl(String backUrl)
Return URL.- Returns:
this
.
-
collectorId
public PreapprovalCreateRequest.PreapprovalCreateRequestBuilder collectorId(String collectorId)
Seller ID.- Returns:
this
.
-
reason
public PreapprovalCreateRequest.PreapprovalCreateRequestBuilder reason(String reason)
Preapproval title.- Returns:
this
.
-
externalReference
public PreapprovalCreateRequest.PreapprovalCreateRequestBuilder externalReference(String externalReference)
Preapproval reference value.- Returns:
this
.
-
status
public PreapprovalCreateRequest.PreapprovalCreateRequestBuilder status(String status)
Preapproval status.- Returns:
this
.
-
autoRecurring
public PreapprovalCreateRequest.PreapprovalCreateRequestBuilder autoRecurring(PreApprovalAutoRecurringCreateRequest autoRecurring)
Recurring data.- Returns:
this
.
-
build
public PreapprovalCreateRequest build()
-
-