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