Package com.stripe.param
Class PaymentIntentCreateParams.PaymentDetails.LodgingData.Host.Builder
java.lang.Object
com.stripe.param.PaymentIntentCreateParams.PaymentDetails.LodgingData.Host.Builder
- Enclosing class:
- PaymentIntentCreateParams.PaymentDetails.LodgingData.Host
public static class PaymentIntentCreateParams.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(String countryOfDomicile) Host's country of domicile.setHostReference(String hostReference) Reference number for the host.Type of host.Name of the lodging property or host.setNumberOfReservations(Long numberOfReservations) Total number of reservations for the host.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 PaymentIntentCreateParams.PaymentDetails.LodgingData.Host.Builder setAddress(PaymentIntentCreateParams.PaymentDetails.LodgingData.Host.Address address) Address of the host. -
setCountryOfDomicile
public PaymentIntentCreateParams.PaymentDetails.LodgingData.Host.Builder setCountryOfDomicile(String countryOfDomicile) Host's country of domicile. -
putExtraParam
public PaymentIntentCreateParams.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. SeePaymentIntentCreateParams.PaymentDetails.LodgingData.Host.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentIntentCreateParams.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. SeePaymentIntentCreateParams.PaymentDetails.LodgingData.Host.extraParamsfor the field documentation. -
setHostReference
public PaymentIntentCreateParams.PaymentDetails.LodgingData.Host.Builder setHostReference(String hostReference) Reference number for the host. -
setHostType
public PaymentIntentCreateParams.PaymentDetails.LodgingData.Host.Builder setHostType(PaymentIntentCreateParams.PaymentDetails.LodgingData.Host.HostType hostType) Type of host. -
setName
Name of the lodging property or host. -
setNumberOfReservations
public PaymentIntentCreateParams.PaymentDetails.LodgingData.Host.Builder setNumberOfReservations(Long numberOfReservations) Total number of reservations for the host. -
setPropertyPhoneNumber
public PaymentIntentCreateParams.PaymentDetails.LodgingData.Host.Builder setPropertyPhoneNumber(String propertyPhoneNumber) Property phone number. -
setRegisteredAt
public PaymentIntentCreateParams.PaymentDetails.LodgingData.Host.Builder setRegisteredAt(Long registeredAt) Host's registration date.
-