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