Package com.mercadopago.client.common
Class SubMerchant.SubMerchantBuilder
- java.lang.Object
-
- com.mercadopago.client.common.SubMerchant.SubMerchantBuilder
-
- Enclosing class:
- SubMerchant
public static class SubMerchant.SubMerchantBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubMerchant.SubMerchantBuilderaddressDoorNumber(Integer addressDoorNumber)Street number where the submerchant is located *SubMerchant.SubMerchantBuilderaddressStreet(String addressStreet)Street where the submerchant is located *SubMerchantbuild()SubMerchant.SubMerchantBuildercity(String city)City where the submerchant is located *SubMerchant.SubMerchantBuildercountry(String country)Country where the submerchant is located *SubMerchant.SubMerchantBuilderdocumentNumber(String documentNumber)CPF or CNPJ identification of the submerchant *SubMerchant.SubMerchantBuilderdocumentType(String documentType)CPF or CNPJ number of the submerchant *SubMerchant.SubMerchantBuilderlegalName(String legalName)Name of the submerchant *SubMerchant.SubMerchantBuildermcc(String mcc)Submerchant MCC according to Abecs decision and/or primary CNAE *SubMerchant.SubMerchantBuilderphone(String phone)Phone number of the submerchant *SubMerchant.SubMerchantBuilderregionCode(String regionCode)Postal code of the submerchant *SubMerchant.SubMerchantBuilderregionCodeIso(String regionCodeIso)State where the submerchant is located *SubMerchant.SubMerchantBuildersubMerchantId(String subMerchantId)Submerchant code *StringtoString()SubMerchant.SubMerchantBuilderurl(String url)Payment Facilitator URL *SubMerchant.SubMerchantBuilderzip(String zip)CEP of the submerchant *
-
-
-
Method Detail
-
subMerchantId
public SubMerchant.SubMerchantBuilder subMerchantId(String subMerchantId)
Submerchant code *- Returns:
this.
-
mcc
public SubMerchant.SubMerchantBuilder mcc(String mcc)
Submerchant MCC according to Abecs decision and/or primary CNAE *- Returns:
this.
-
country
public SubMerchant.SubMerchantBuilder country(String country)
Country where the submerchant is located *- Returns:
this.
-
addressDoorNumber
public SubMerchant.SubMerchantBuilder addressDoorNumber(Integer addressDoorNumber)
Street number where the submerchant is located *- Returns:
this.
-
zip
public SubMerchant.SubMerchantBuilder zip(String zip)
CEP of the submerchant *- Returns:
this.
-
documentNumber
public SubMerchant.SubMerchantBuilder documentNumber(String documentNumber)
CPF or CNPJ identification of the submerchant *- Returns:
this.
-
city
public SubMerchant.SubMerchantBuilder city(String city)
City where the submerchant is located *- Returns:
this.
-
addressStreet
public SubMerchant.SubMerchantBuilder addressStreet(String addressStreet)
Street where the submerchant is located *- Returns:
this.
-
legalName
public SubMerchant.SubMerchantBuilder legalName(String legalName)
Name of the submerchant *- Returns:
this.
-
regionCodeIso
public SubMerchant.SubMerchantBuilder regionCodeIso(String regionCodeIso)
State where the submerchant is located *- Returns:
this.
-
regionCode
public SubMerchant.SubMerchantBuilder regionCode(String regionCode)
Postal code of the submerchant *- Returns:
this.
-
documentType
public SubMerchant.SubMerchantBuilder documentType(String documentType)
CPF or CNPJ number of the submerchant *- Returns:
this.
-
phone
public SubMerchant.SubMerchantBuilder phone(String phone)
Phone number of the submerchant *- Returns:
this.
-
url
public SubMerchant.SubMerchantBuilder url(String url)
Payment Facilitator URL *- Returns:
this.
-
build
public SubMerchant build()
-
-