Package com.stripe.param
Class PaymentIntentConfirmParams.PaymentDetails.Lodging.Builder
java.lang.Object
com.stripe.param.PaymentIntentConfirmParams.PaymentDetails.Lodging.Builder
- Enclosing class:
- PaymentIntentConfirmParams.PaymentDetails.Lodging
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd all elements to `extraCharges` list.Add all elements to `passengers` list.Add an element to `extraCharges` list.Add an element to `passengers` list.build()
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.The lodging location's address.The number of adults on the booking.Affiliate details for this purchase.setBookingNumber
(String bookingNumber) The booking number associated with the lodging reservation.The lodging category.setCheckinAt
(Long checkinAt) Required. Lodging check-in time.setCheckoutAt
(Long checkoutAt) Required. Lodging check-out time.setCustomerServicePhoneNumber
(String customerServicePhoneNumber) The customer service phone number of the lodging company.setDailyRoomRateAmount
(Long dailyRoomRateAmount) The daily lodging room rate.Delivery details for this purchase.setFireSafetyActCompliance
(Boolean fireSafetyActCompliance) Indicates whether the lodging location is compliant with the Fire Safety Act.The name of the lodging location.Indicates if the customer did not keep their booking while failing to cancel the reservation.setNumberOfRooms
(Long numberOfRooms) The number of rooms on the booking.setPropertyPhoneNumber
(String propertyPhoneNumber) The phone number of the lodging location.setRoomClass
(String roomClass) The room class for this purchase.setRoomNights
(Long roomNights) The number of room nights.setTotalRoomTaxAmount
(Long totalRoomTaxAmount) The total tax amount associating with the room reservation.setTotalTaxAmount
(Long totalTaxAmount) The total tax amount.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAddress
public PaymentIntentConfirmParams.PaymentDetails.Lodging.Builder setAddress(PaymentIntentConfirmParams.PaymentDetails.Lodging.Address address) The lodging location's address. -
setAdults
The number of adults on the booking. -
setAffiliate
public PaymentIntentConfirmParams.PaymentDetails.Lodging.Builder setAffiliate(PaymentIntentConfirmParams.PaymentDetails.Lodging.Affiliate affiliate) Affiliate details for this purchase. -
setBookingNumber
public PaymentIntentConfirmParams.PaymentDetails.Lodging.Builder setBookingNumber(String bookingNumber) The booking number associated with the lodging reservation. -
setCategory
public PaymentIntentConfirmParams.PaymentDetails.Lodging.Builder setCategory(PaymentIntentConfirmParams.PaymentDetails.Lodging.Category category) The lodging category. -
setCheckinAt
Required. Lodging check-in time. Measured in seconds since the Unix epoch. -
setCheckoutAt
Required. Lodging check-out time. Measured in seconds since the Unix epoch. -
setCustomerServicePhoneNumber
public PaymentIntentConfirmParams.PaymentDetails.Lodging.Builder setCustomerServicePhoneNumber(String customerServicePhoneNumber) The customer service phone number of the lodging company. -
setDailyRoomRateAmount
public PaymentIntentConfirmParams.PaymentDetails.Lodging.Builder setDailyRoomRateAmount(Long dailyRoomRateAmount) The daily lodging room rate. -
setDelivery
public PaymentIntentConfirmParams.PaymentDetails.Lodging.Builder setDelivery(PaymentIntentConfirmParams.PaymentDetails.Lodging.Delivery delivery) Delivery details for this purchase. -
addExtraCharge
public PaymentIntentConfirmParams.PaymentDetails.Lodging.Builder addExtraCharge(PaymentIntentConfirmParams.PaymentDetails.Lodging.ExtraCharge element) Add an element to `extraCharges` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentConfirmParams.PaymentDetails.Lodging.extraCharges
for the field documentation. -
addAllExtraCharge
public PaymentIntentConfirmParams.PaymentDetails.Lodging.Builder addAllExtraCharge(List<PaymentIntentConfirmParams.PaymentDetails.Lodging.ExtraCharge> elements) Add all elements to `extraCharges` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentConfirmParams.PaymentDetails.Lodging.extraCharges
for the field documentation. -
putExtraParam
public PaymentIntentConfirmParams.PaymentDetails.Lodging.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.Lodging.extraParams
for the field documentation. -
putAllExtraParam
public PaymentIntentConfirmParams.PaymentDetails.Lodging.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.Lodging.extraParams
for the field documentation. -
setFireSafetyActCompliance
public PaymentIntentConfirmParams.PaymentDetails.Lodging.Builder setFireSafetyActCompliance(Boolean fireSafetyActCompliance) Indicates whether the lodging location is compliant with the Fire Safety Act. -
setName
The name of the lodging location. -
setNoShow
Indicates if the customer did not keep their booking while failing to cancel the reservation. -
setNumberOfRooms
public PaymentIntentConfirmParams.PaymentDetails.Lodging.Builder setNumberOfRooms(Long numberOfRooms) The number of rooms on the booking. -
addPassenger
public PaymentIntentConfirmParams.PaymentDetails.Lodging.Builder addPassenger(PaymentIntentConfirmParams.PaymentDetails.Lodging.Passenger element) Add an element to `passengers` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentConfirmParams.PaymentDetails.Lodging.passengers
for the field documentation. -
addAllPassenger
public PaymentIntentConfirmParams.PaymentDetails.Lodging.Builder addAllPassenger(List<PaymentIntentConfirmParams.PaymentDetails.Lodging.Passenger> elements) Add all elements to `passengers` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentConfirmParams.PaymentDetails.Lodging.passengers
for the field documentation. -
setPropertyPhoneNumber
public PaymentIntentConfirmParams.PaymentDetails.Lodging.Builder setPropertyPhoneNumber(String propertyPhoneNumber) The phone number of the lodging location. -
setRoomClass
The room class for this purchase. -
setRoomNights
The number of room nights. -
setTotalRoomTaxAmount
public PaymentIntentConfirmParams.PaymentDetails.Lodging.Builder setTotalRoomTaxAmount(Long totalRoomTaxAmount) The total tax amount associating with the room reservation. -
setTotalTaxAmount
public PaymentIntentConfirmParams.PaymentDetails.Lodging.Builder setTotalTaxAmount(Long totalTaxAmount) The total tax amount.
-