Class ProfileLightweight

java.lang.Object
io.trippay.sdk.payment.model.ProfileLightweight

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-06-26T20:12:05.578754358+07:00[Asia/Bangkok]", comments="Generator version: 7.13.0") public class ProfileLightweight extends Object
ProfileLightweight
  • Field Details

  • Constructor Details

    • ProfileLightweight

      public ProfileLightweight()
  • Method Details

    • profileIdentifier

      public ProfileLightweight profileIdentifier(@Nonnull UUID profileIdentifier)
    • getProfileIdentifier

      @Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) UUID getProfileIdentifier()
      Profile identifier
      Returns:
      profileIdentifier
    • setProfileIdentifier

      public void setProfileIdentifier(@Nonnull UUID profileIdentifier)
    • userIdentifier

      public ProfileLightweight userIdentifier(@Nonnull UUID userIdentifier)
    • getUserIdentifier

      @Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) UUID getUserIdentifier()
      User identifier
      Returns:
      userIdentifier
    • setUserIdentifier

      public void setUserIdentifier(@Nonnull UUID userIdentifier)
    • share

      public ProfileLightweight share(@Nonnull Boolean share)
    • getShare

      @Nonnull @NotNull public @NotNull Boolean getShare()
      Indicates whether the user wants to share this profile of themselves with hotel(s)
      Returns:
      share
    • setShare

      public void setShare(@Nonnull Boolean share)
    • user

      public ProfileLightweight user(@Nonnull ProfileUser user)
    • getUser

      @Nonnull @NotNull @Valid public @NotNull @Valid ProfileUser getUser()
      User details
      Returns:
      user
    • setUser

      public void setUser(@Nonnull ProfileUser user)
    • personal

      public ProfileLightweight personal(@Nonnull Personal personal)
    • getPersonal

      @Nonnull @NotNull @Valid public @NotNull @Valid Personal getPersonal()
      Detailed customer information for this profile
      Returns:
      personal
    • setPersonal

      public void setPersonal(@Nonnull Personal personal)
    • preferences

      public ProfileLightweight preferences(@Nonnull Preferences preferences)
    • getPreferences

      @Nonnull @NotNull @Valid public @NotNull @Valid Preferences getPreferences()
      Customer preferences
      Returns:
      preferences
    • setPreferences

      public void setPreferences(@Nonnull Preferences preferences)
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object