Class Mapping

java.lang.Object
travel.wink.sdk.payment.model.Mapping

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-05-27T09:48:07.068993+07:00[Asia/Bangkok]") public class Mapping extends Object
Mapping record is responsible for mapping a local account identifier with a remote system. When a booking comes in from the remote system, we will know how to properly assign funds to the correct accounts.
  • Field Details

  • Constructor Details

  • Method Details

    • getId

      @Nullable public String getId()
      Document UUID
      Returns:
      id
    • getCreatedDate

      @Nullable @Valid public @Valid OffsetDateTime getCreatedDate()
      Datetime this record was first created
      Returns:
      createdDate
    • getLastUpdate

      @Nullable @Valid public @Valid OffsetDateTime getLastUpdate()
      Datetime this record was last updated
      Returns:
      lastUpdate
    • getVersion

      @Nullable public Long getVersion()
      Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.
      Returns:
      version
    • accountOwnerIdentifier

      public Mapping accountOwnerIdentifier(String accountOwnerIdentifier)
    • getAccountOwnerIdentifier

      @Nonnull @NotNull public @NotNull String getAccountOwnerIdentifier()
      The entity that owns this account.
      Returns:
      accountOwnerIdentifier
    • setAccountOwnerIdentifier

      public void setAccountOwnerIdentifier(String accountOwnerIdentifier)
    • localAccountIdentifier

      public Mapping localAccountIdentifier(String localAccountIdentifier)
    • getLocalAccountIdentifier

      @Nonnull @NotNull public @NotNull String getLocalAccountIdentifier()
      Local account identifier is the platform identifier
      Returns:
      localAccountIdentifier
    • setLocalAccountIdentifier

      public void setLocalAccountIdentifier(String localAccountIdentifier)
    • externalIdentifier

      public Mapping externalIdentifier(String externalIdentifier)
    • getExternalIdentifier

      @Nonnull @NotNull public @NotNull String getExternalIdentifier()
      External identifier is the identifier of this entity in a remote system
      Returns:
      externalIdentifier
    • setExternalIdentifier

      public void setExternalIdentifier(String externalIdentifier)
    • accountIdentifier

      public Mapping accountIdentifier(String accountIdentifier)
    • getAccountIdentifier

      @Nonnull @NotNull public @NotNull String getAccountIdentifier()
      Account identifier is the account doing the mapping
      Returns:
      accountIdentifier
    • setAccountIdentifier

      public void setAccountIdentifier(String accountIdentifier)
    • name

      public Mapping name(String name)
    • getName

      @Nonnull @NotNull public @NotNull String getName()
      Name of the entity being mapped
      Returns:
      name
    • setName

      public void setName(String name)
    • 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