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