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