Package com.stripe.param
Class PaymentIntentUpdateParams.PaymentDetails.LodgingData.Builder
java.lang.Object
com.stripe.param.PaymentIntentUpdateParams.PaymentDetails.LodgingData.Builder
- Enclosing class:
- PaymentIntentUpdateParams.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 PaymentIntentUpdateParams.PaymentDetails.LodgingData.Builder setAccommodation(PaymentIntentUpdateParams.PaymentDetails.LodgingData.Accommodation accommodation) Accommodation details for the lodging. -
setAffiliate
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Builder setAffiliate(PaymentIntentUpdateParams.PaymentDetails.LodgingData.Affiliate affiliate) Affiliate details if applicable. -
setBookingNumber
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Builder setBookingNumber(String bookingNumber) Booking confirmation number for the lodging. -
setBookingNumber
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Builder setBookingNumber(EmptyParam bookingNumber) Booking confirmation number for the lodging. -
setCheckinAt
Required. Check-in date. -
setCheckoutAt
Required. Check-out date. -
setCustomerServicePhoneNumber
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Builder setCustomerServicePhoneNumber(String customerServicePhoneNumber) Customer service phone number for the lodging company. -
setCustomerServicePhoneNumber
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Builder setCustomerServicePhoneNumber(EmptyParam customerServicePhoneNumber) Customer service phone number for the lodging company. -
putExtraParam
public PaymentIntentUpdateParams.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. SeePaymentIntentUpdateParams.PaymentDetails.LodgingData.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentIntentUpdateParams.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. SeePaymentIntentUpdateParams.PaymentDetails.LodgingData.extraParamsfor the field documentation. -
setFireSafetyActComplianceIndicator
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Builder setFireSafetyActComplianceIndicator(Boolean fireSafetyActComplianceIndicator) Whether the lodging is compliant with any hotel fire safety regulations. -
addGuest
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Builder addGuest(PaymentIntentUpdateParams.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. SeePaymentIntentUpdateParams.PaymentDetails.LodgingData.guestsfor the field documentation. -
addAllGuest
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Builder addAllGuest(List<PaymentIntentUpdateParams.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. SeePaymentIntentUpdateParams.PaymentDetails.LodgingData.guestsfor the field documentation. -
setHost
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Builder setHost(PaymentIntentUpdateParams.PaymentDetails.LodgingData.Host host) Host details for the lodging. -
addInsurance
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Builder addInsurance(PaymentIntentUpdateParams.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. SeePaymentIntentUpdateParams.PaymentDetails.LodgingData.insurancesfor the field documentation. -
addAllInsurance
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Builder addAllInsurance(List<PaymentIntentUpdateParams.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. SeePaymentIntentUpdateParams.PaymentDetails.LodgingData.insurancesfor the field documentation. -
setNoShowIndicator
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Builder setNoShowIndicator(Boolean noShowIndicator) Whether the renter is a no-show. -
setRenterIdNumber
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Builder setRenterIdNumber(String renterIdNumber) Renter ID number for the lodging. -
setRenterIdNumber
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Builder setRenterIdNumber(EmptyParam renterIdNumber) Renter ID number for the lodging. -
setRenterName
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Builder setRenterName(String renterName) Renter name for the lodging. -
setRenterName
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Builder setRenterName(EmptyParam renterName) Renter name for the lodging. -
setTotal
public PaymentIntentUpdateParams.PaymentDetails.LodgingData.Builder setTotal(PaymentIntentUpdateParams.PaymentDetails.LodgingData.Total total) Required. Total details for the lodging.
-