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