Package com.stripe.param
Class PaymentIntentConfirmParams.PaymentDetails.CarRental.Builder
java.lang.Object
com.stripe.param.PaymentIntentConfirmParams.PaymentDetails.CarRental.Builder
- Enclosing class:
- PaymentIntentConfirmParams.PaymentDetails.CarRental
-
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.setBookingNumber
(String bookingNumber) Required. The booking number associated with the car rental.setCarClassCode
(String carClassCode) Class code of the car.setCarMake
(String carMake) Make of the car.setCarModel
(String carModel) Model of the car.setCompany
(String company) The name of the rental car company.setCustomerServicePhoneNumber
(String customerServicePhoneNumber) The customer service phone number of the car rental company.setDaysRented
(Long daysRented) Required. Number of days the car is being rented.Indicates if the customer did not keep nor cancel their booking.Car pick-up address.setPickupAt
(Long pickupAt) Required. Car pick-up time.setRateAmount
(Long rateAmount) Rental rate.The frequency at which the rate amount is applied.setRenterName
(String renterName) The name of the person or entity renting the car.Car return address.setReturnAt
(Long returnAt) Required. Car return time.setTaxExempt
(Boolean taxExempt) Indicates whether the goods or services are tax-exempt or tax is not collected.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setBookingNumber
public PaymentIntentConfirmParams.PaymentDetails.CarRental.Builder setBookingNumber(String bookingNumber) Required. The booking number associated with the car rental. -
setCarClassCode
public PaymentIntentConfirmParams.PaymentDetails.CarRental.Builder setCarClassCode(String carClassCode) Class code of the car. -
setCarMake
Make of the car. -
setCarModel
Model of the car. -
setCompany
The name of the rental car company. -
setCustomerServicePhoneNumber
public PaymentIntentConfirmParams.PaymentDetails.CarRental.Builder setCustomerServicePhoneNumber(String customerServicePhoneNumber) The customer service phone number of the car rental company. -
setDaysRented
Required. Number of days the car is being rented. -
addExtraCharge
public PaymentIntentConfirmParams.PaymentDetails.CarRental.Builder addExtraCharge(PaymentIntentConfirmParams.PaymentDetails.CarRental.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.CarRental.extraCharges
for the field documentation. -
addAllExtraCharge
public PaymentIntentConfirmParams.PaymentDetails.CarRental.Builder addAllExtraCharge(List<PaymentIntentConfirmParams.PaymentDetails.CarRental.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.CarRental.extraCharges
for the field documentation. -
putExtraParam
public PaymentIntentConfirmParams.PaymentDetails.CarRental.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.CarRental.extraParams
for the field documentation. -
putAllExtraParam
public PaymentIntentConfirmParams.PaymentDetails.CarRental.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.CarRental.extraParams
for the field documentation. -
setNoShow
Indicates if the customer did not keep nor cancel their booking. -
setPickupAddress
public PaymentIntentConfirmParams.PaymentDetails.CarRental.Builder setPickupAddress(PaymentIntentConfirmParams.PaymentDetails.CarRental.PickupAddress pickupAddress) Car pick-up address. -
setPickupAt
Required. Car pick-up time. Measured in seconds since the Unix epoch. -
setRateAmount
Rental rate. -
setRateInterval
public PaymentIntentConfirmParams.PaymentDetails.CarRental.Builder setRateInterval(PaymentIntentConfirmParams.PaymentDetails.CarRental.RateInterval rateInterval) The frequency at which the rate amount is applied. One ofday
,week
ormonth
-
setRenterName
The name of the person or entity renting the car. -
setReturnAddress
public PaymentIntentConfirmParams.PaymentDetails.CarRental.Builder setReturnAddress(PaymentIntentConfirmParams.PaymentDetails.CarRental.ReturnAddress returnAddress) Car return address. -
setReturnAt
Required. Car return time. Measured in seconds since the Unix epoch. -
setTaxExempt
Indicates whether the goods or services are tax-exempt or tax is not collected.
-