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