Package com.stripe.param
Class ChargeUpdateParams.PaymentDetails.LodgingData.Builder
java.lang.Object
com.stripe.param.ChargeUpdateParams.PaymentDetails.LodgingData.Builder
- Enclosing class:
- ChargeUpdateParams.PaymentDetails.LodgingData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd all elements to `guests` list.Add all elements to `insurances` list.Add an element to `guests` list.Add an element to `insurances` 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.Accommodation details for the lodging.Affiliate details if applicable.setBookingNumber(EmptyParam bookingNumber) Booking confirmation number for the lodging.setBookingNumber(String bookingNumber) Booking confirmation number for the lodging.setCheckinAt(Long checkinAt) Required. Check-in date.setCheckoutAt(Long checkoutAt) Required. Check-out date.setCustomerServicePhoneNumber(EmptyParam customerServicePhoneNumber) Customer service phone number for the lodging company.setCustomerServicePhoneNumber(String customerServicePhoneNumber) Customer service phone number for the lodging company.setFireSafetyActComplianceIndicator(Boolean fireSafetyActComplianceIndicator) Whether the lodging is compliant with any hotel fire safety regulations.Host details for the lodging.setNoShowIndicator(Boolean noShowIndicator) Whether the renter is a no-show.setRenterIdNumber(EmptyParam renterIdNumber) Renter ID number for the lodging.setRenterIdNumber(String renterIdNumber) Renter ID number for the lodging.setRenterName(EmptyParam renterName) Renter name for the lodging.setRenterName(String renterName) Renter name for the lodging.Required. Total details for the lodging.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAccommodation
public ChargeUpdateParams.PaymentDetails.LodgingData.Builder setAccommodation(ChargeUpdateParams.PaymentDetails.LodgingData.Accommodation accommodation) Accommodation details for the lodging. -
setAffiliate
public ChargeUpdateParams.PaymentDetails.LodgingData.Builder setAffiliate(ChargeUpdateParams.PaymentDetails.LodgingData.Affiliate affiliate) Affiliate details if applicable. -
setBookingNumber
Booking confirmation number for the lodging. -
setBookingNumber
public ChargeUpdateParams.PaymentDetails.LodgingData.Builder setBookingNumber(EmptyParam bookingNumber) Booking confirmation number for the lodging. -
setCheckinAt
Required. Check-in date. -
setCheckoutAt
Required. Check-out date. -
setCustomerServicePhoneNumber
public ChargeUpdateParams.PaymentDetails.LodgingData.Builder setCustomerServicePhoneNumber(String customerServicePhoneNumber) Customer service phone number for the lodging company. -
setCustomerServicePhoneNumber
public ChargeUpdateParams.PaymentDetails.LodgingData.Builder setCustomerServicePhoneNumber(EmptyParam customerServicePhoneNumber) Customer service phone number for the lodging company. -
putExtraParam
public ChargeUpdateParams.PaymentDetails.LodgingData.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. SeeChargeUpdateParams.PaymentDetails.LodgingData.extraParamsfor the field documentation. -
putAllExtraParam
public ChargeUpdateParams.PaymentDetails.LodgingData.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. SeeChargeUpdateParams.PaymentDetails.LodgingData.extraParamsfor the field documentation. -
setFireSafetyActComplianceIndicator
public ChargeUpdateParams.PaymentDetails.LodgingData.Builder setFireSafetyActComplianceIndicator(Boolean fireSafetyActComplianceIndicator) Whether the lodging is compliant with any hotel fire safety regulations. -
addGuest
public ChargeUpdateParams.PaymentDetails.LodgingData.Builder addGuest(ChargeUpdateParams.PaymentDetails.LodgingData.Guest element) Add an element to `guests` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeChargeUpdateParams.PaymentDetails.LodgingData.guestsfor the field documentation. -
addAllGuest
public ChargeUpdateParams.PaymentDetails.LodgingData.Builder addAllGuest(List<ChargeUpdateParams.PaymentDetails.LodgingData.Guest> elements) Add all elements to `guests` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeChargeUpdateParams.PaymentDetails.LodgingData.guestsfor the field documentation. -
setHost
public ChargeUpdateParams.PaymentDetails.LodgingData.Builder setHost(ChargeUpdateParams.PaymentDetails.LodgingData.Host host) Host details for the lodging. -
addInsurance
public ChargeUpdateParams.PaymentDetails.LodgingData.Builder addInsurance(ChargeUpdateParams.PaymentDetails.LodgingData.Insurance element) Add an element to `insurances` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeChargeUpdateParams.PaymentDetails.LodgingData.insurancesfor the field documentation. -
addAllInsurance
public ChargeUpdateParams.PaymentDetails.LodgingData.Builder addAllInsurance(List<ChargeUpdateParams.PaymentDetails.LodgingData.Insurance> elements) Add all elements to `insurances` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeChargeUpdateParams.PaymentDetails.LodgingData.insurancesfor the field documentation. -
setNoShowIndicator
public ChargeUpdateParams.PaymentDetails.LodgingData.Builder setNoShowIndicator(Boolean noShowIndicator) Whether the renter is a no-show. -
setRenterIdNumber
public ChargeUpdateParams.PaymentDetails.LodgingData.Builder setRenterIdNumber(String renterIdNumber) Renter ID number for the lodging. -
setRenterIdNumber
public ChargeUpdateParams.PaymentDetails.LodgingData.Builder setRenterIdNumber(EmptyParam renterIdNumber) Renter ID number for the lodging. -
setRenterName
Renter name for the lodging. -
setRenterName
Renter name for the lodging. -
setTotal
public ChargeUpdateParams.PaymentDetails.LodgingData.Builder setTotal(ChargeUpdateParams.PaymentDetails.LodgingData.Total total) Required. Total details for the lodging.
-