Package com.stripe.param
Class PaymentIntentUpdateParams.PaymentDetails.LodgingData.Host.Builder
java.lang.Object
com.stripe.param.PaymentIntentUpdateParams.PaymentDetails.LodgingData.Host.Builder
- Enclosing class:
- PaymentIntentUpdateParams.PaymentDetails.LodgingData.Host
public static class PaymentIntentUpdateParams.PaymentDetails.LodgingData.Host.Builder
extends Object
-
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.putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map.Address of the host.setCountryOfDomicile(EmptyParam countryOfDomicile) Host's country of domicile.setCountryOfDomicile(String countryOfDomicile) Host's country of domicile.setHostReference(EmptyParam hostReference) Reference number for the host.setHostReference(String hostReference) Reference number for the host.Type of host.setName(EmptyParam name) Name of the lodging property or host.Name of the lodging property or host.setNumberOfReservations(Long numberOfReservations) Total number of reservations for the host.setPropertyPhoneNumber(EmptyParam propertyPhoneNumber) Property phone number.setPropertyPhoneNumber(String propertyPhoneNumber) Property phone number.setRegisteredAt(Long registeredAt) Host's registration date.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAddress
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Host.Builder setAddress(PaymentIntentUpdateParams.PaymentDetails.LodgingData.Host.Address address) Address of the host. -
setCountryOfDomicile
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Host.Builder setCountryOfDomicile(String countryOfDomicile) Host's country of domicile. -
setCountryOfDomicile
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Host.Builder setCountryOfDomicile(EmptyParam countryOfDomicile) Host's country of domicile. -
putExtraParam
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Host.Builder putExtraParam(String key, Object value) 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. SeePaymentIntentUpdateParams.PaymentDetails.LodgingData.Host.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Host.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. SeePaymentIntentUpdateParams.PaymentDetails.LodgingData.Host.extraParamsfor the field documentation. -
setHostReference
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Host.Builder setHostReference(String hostReference) Reference number for the host. -
setHostReference
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Host.Builder setHostReference(EmptyParam hostReference) Reference number for the host. -
setHostType
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Host.Builder setHostType(PaymentIntentUpdateParams.PaymentDetails.LodgingData.Host.HostType hostType) Type of host. -
setName
Name of the lodging property or host. -
setName
Name of the lodging property or host. -
setNumberOfReservations
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Host.Builder setNumberOfReservations(Long numberOfReservations) Total number of reservations for the host. -
setPropertyPhoneNumber
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Host.Builder setPropertyPhoneNumber(String propertyPhoneNumber) Property phone number. -
setPropertyPhoneNumber
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Host.Builder setPropertyPhoneNumber(EmptyParam propertyPhoneNumber) Property phone number. -
setRegisteredAt
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Host.Builder setRegisteredAt(Long registeredAt) Host's registration date.
-