Package com.stripe.param
Class ChargeUpdateParams.PaymentDetails.Lodging.Builder
java.lang.Object
com.stripe.param.ChargeUpdateParams.PaymentDetails.Lodging.Builder
- Enclosing class:
- ChargeUpdateParams.PaymentDetails.Lodging
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdd all elements to `extraCharges` list.Add an element to `extraCharges` 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.setBookingNumber
(EmptyParam bookingNumber) The booking number associated with the lodging reservation.setBookingNumber
(String bookingNumber) The booking number associated with the lodging reservation.The lodging category.setCheckinAt
(Long checkinAt) Required. Loding check-in time.setCheckoutAt
(Long checkoutAt) Required. Lodging check-out time.setCustomerServicePhoneNumber
(EmptyParam customerServicePhoneNumber) The customer service phone number of the lodging company.setCustomerServicePhoneNumber
(String customerServicePhoneNumber) The customer service phone number of the lodging company.setDailyRoomRateAmount
(Long dailyRoomRateAmount) The daily lodging room rate.setFireSafetyActCompliance
(Boolean fireSafetyActCompliance) Indicates whether the lodging location is compliant with the Fire Safety Act.setName
(EmptyParam name) The name of the lodging location.The name of the lodging location.Indicates if the customer did not keep their booking while failing to cancel the reservation.setPropertyPhoneNumber
(EmptyParam propertyPhoneNumber) The phone number of the lodging location.setPropertyPhoneNumber
(String propertyPhoneNumber) The phone number of the lodging location.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 ChargeUpdateParams.PaymentDetails.Lodging.Builder setAddress(ChargeUpdateParams.PaymentDetails.Lodging.Address address) The lodging location's address. -
setAdults
The number of adults on the booking. -
setBookingNumber
The booking number associated with the lodging reservation. -
setBookingNumber
The booking number associated with the lodging reservation. -
setCategory
public ChargeUpdateParams.PaymentDetails.Lodging.Builder setCategory(ChargeUpdateParams.PaymentDetails.Lodging.Category category) The lodging category. -
setCheckinAt
Required. Loding 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 ChargeUpdateParams.PaymentDetails.Lodging.Builder setCustomerServicePhoneNumber(String customerServicePhoneNumber) The customer service phone number of the lodging company. -
setCustomerServicePhoneNumber
public ChargeUpdateParams.PaymentDetails.Lodging.Builder setCustomerServicePhoneNumber(EmptyParam customerServicePhoneNumber) The customer service phone number of the lodging company. -
setDailyRoomRateAmount
public ChargeUpdateParams.PaymentDetails.Lodging.Builder setDailyRoomRateAmount(Long dailyRoomRateAmount) The daily lodging room rate. -
addExtraCharge
public ChargeUpdateParams.PaymentDetails.Lodging.Builder addExtraCharge(ChargeUpdateParams.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. SeeChargeUpdateParams.PaymentDetails.Lodging.extraCharges
for the field documentation. -
addAllExtraCharge
public ChargeUpdateParams.PaymentDetails.Lodging.Builder addAllExtraCharge(List<ChargeUpdateParams.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. SeeChargeUpdateParams.PaymentDetails.Lodging.extraCharges
for the field documentation. -
putExtraParam
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. SeeChargeUpdateParams.PaymentDetails.Lodging.extraParams
for the field documentation. -
putAllExtraParam
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. SeeChargeUpdateParams.PaymentDetails.Lodging.extraParams
for the field documentation. -
setFireSafetyActCompliance
public ChargeUpdateParams.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. -
setName
The name of the lodging location. -
setNoShow
Indicates if the customer did not keep their booking while failing to cancel the reservation. -
setPropertyPhoneNumber
public ChargeUpdateParams.PaymentDetails.Lodging.Builder setPropertyPhoneNumber(String propertyPhoneNumber) The phone number of the lodging location. -
setPropertyPhoneNumber
public ChargeUpdateParams.PaymentDetails.Lodging.Builder setPropertyPhoneNumber(EmptyParam propertyPhoneNumber) The phone number of the lodging location. -
setRoomNights
The number of room nights. -
setTotalRoomTaxAmount
public ChargeUpdateParams.PaymentDetails.Lodging.Builder setTotalRoomTaxAmount(Long totalRoomTaxAmount) The total tax amount associating with the room reservation. -
setTotalTaxAmount
The total tax amount.
-