Package com.stripe.param
Class PaymentIntentUpdateParams.PaymentDetails.LodgingData.Accommodation.Builder
java.lang.Object
com.stripe.param.PaymentIntentUpdateParams.PaymentDetails.LodgingData.Accommodation.Builder
- Enclosing class:
- PaymentIntentUpdateParams.PaymentDetails.LodgingData.Accommodation
public static class PaymentIntentUpdateParams.PaymentDetails.LodgingData.Accommodation.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.setAccommodationType(PaymentIntentUpdateParams.PaymentDetails.LodgingData.Accommodation.AccommodationType accommodationType) Type of accommodation.setBedType(EmptyParam bedType) Bed type.setBedType(String bedType) Bed type.setDailyRateAmount(Long dailyRateAmount) Daily accommodation rate in cents.Number of nights.setNumberOfRooms(Long numberOfRooms) Number of rooms, cabanas, apartments, and so on.setRateType(EmptyParam rateType) Rate type.setRateType(String rateType) Rate type.setSmokingIndicator(Boolean smokingIndicator) Whether smoking is allowed.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAccommodationType
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Accommodation.Builder setAccommodationType(PaymentIntentUpdateParams.PaymentDetails.LodgingData.Accommodation.AccommodationType accommodationType) Type of accommodation. -
setBedType
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Accommodation.Builder setBedType(String bedType) Bed type. -
setBedType
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Accommodation.Builder setBedType(EmptyParam bedType) Bed type. -
setDailyRateAmount
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Accommodation.Builder setDailyRateAmount(Long dailyRateAmount) Daily accommodation rate in cents. -
putExtraParam
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Accommodation.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.Accommodation.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Accommodation.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.Accommodation.extraParamsfor the field documentation. -
setNights
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Accommodation.Builder setNights(Long nights) Number of nights. -
setNumberOfRooms
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Accommodation.Builder setNumberOfRooms(Long numberOfRooms) Number of rooms, cabanas, apartments, and so on. -
setRateType
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Accommodation.Builder setRateType(String rateType) Rate type. -
setRateType
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Accommodation.Builder setRateType(EmptyParam rateType) Rate type. -
setSmokingIndicator
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Accommodation.Builder setSmokingIndicator(Boolean smokingIndicator) Whether smoking is allowed.
-