Class PaymentIntent.PaymentDetails.LodgingDatum.Accommodation

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentIntent.PaymentDetails.LodgingDatum.Accommodation
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
PaymentIntent.PaymentDetails.LodgingDatum

public static class PaymentIntent.PaymentDetails.LodgingDatum.Accommodation extends StripeObject
For more details about Accommodation, please refer to the API Reference.
  • Constructor Details

    • Accommodation

      public Accommodation()
  • Method Details

    • getAccommodationType

      public String getAccommodationType()
      Type of accommodation.

      One of apartment, cabana, house, penthouse, room, standard, suite, or villa.

    • getBedType

      public String getBedType()
      Bed type.
    • getDailyRateAmount

      public Long getDailyRateAmount()
      Daily accommodation rate in cents.
    • getNights

      public Long getNights()
      Number of nights.
    • getNumberOfRooms

      public Long getNumberOfRooms()
      Number of rooms, cabanas, apartments, and so on.
    • getRateType

      public String getRateType()
      Rate type.
    • getSmokingIndicator

      public Boolean getSmokingIndicator()
      Whether smoking is allowed.
    • setAccommodationType

      public void setAccommodationType(String accommodationType)
      Type of accommodation.

      One of apartment, cabana, house, penthouse, room, standard, suite, or villa.

    • setBedType

      public void setBedType(String bedType)
      Bed type.
    • setDailyRateAmount

      public void setDailyRateAmount(Long dailyRateAmount)
      Daily accommodation rate in cents.
    • setNights

      public void setNights(Long nights)
      Number of nights.
    • setNumberOfRooms

      public void setNumberOfRooms(Long numberOfRooms)
      Number of rooms, cabanas, apartments, and so on.
    • setRateType

      public void setRateType(String rateType)
      Rate type.
    • setSmokingIndicator

      public void setSmokingIndicator(Boolean smokingIndicator)
      Whether smoking is allowed.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object