Class MerchantOrderCreateRequest.MerchantOrderCreateRequestBuilder
- java.lang.Object
-
- com.mercadopago.client.merchantorder.MerchantOrderCreateRequest.MerchantOrderCreateRequestBuilder
-
- Enclosing class:
- MerchantOrderCreateRequest
public static class MerchantOrderCreateRequest.MerchantOrderCreateRequestBuilder extends Object
-
-
Method Summary
-
-
-
Method Detail
-
preferenceId
public MerchantOrderCreateRequest.MerchantOrderCreateRequestBuilder preferenceId(String preferenceId)
Payment preference identifier associated to the merchant order.- Returns:
this
.
-
applicationId
public MerchantOrderCreateRequest.MerchantOrderCreateRequestBuilder applicationId(String applicationId)
Application ID.- Returns:
this
.
-
siteId
public MerchantOrderCreateRequest.MerchantOrderCreateRequestBuilder siteId(String siteId)
Country identifier that merchant order belongs to.- Returns:
this
.
-
payer
public MerchantOrderCreateRequest.MerchantOrderCreateRequestBuilder payer(MerchantOrderPayerRequest payer)
Payer information.- Returns:
this
.
-
sponsorId
public MerchantOrderCreateRequest.MerchantOrderCreateRequestBuilder sponsorId(String sponsorId)
Sponsor ID.- Returns:
this
.
-
items
public MerchantOrderCreateRequest.MerchantOrderCreateRequestBuilder items(List<MerchantOrderItemRequest> items)
Items information.- Returns:
this
.
-
notificationUrl
public MerchantOrderCreateRequest.MerchantOrderCreateRequestBuilder notificationUrl(String notificationUrl)
URL where you'd like to receive a payment notification.- Returns:
this
.
-
additionalInfo
public MerchantOrderCreateRequest.MerchantOrderCreateRequestBuilder additionalInfo(String additionalInfo)
Additional information.- Returns:
this
.
-
externalReference
public MerchantOrderCreateRequest.MerchantOrderCreateRequestBuilder externalReference(String externalReference)
Reference you can synchronize with your payment system.- Returns:
this
.
-
marketplace
public MerchantOrderCreateRequest.MerchantOrderCreateRequestBuilder marketplace(String marketplace)
Origin of the payment.- Returns:
this
.
-
build
public MerchantOrderCreateRequest build()
-
-