Class Integration

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-06-11T13:46:37.093025+07:00[Asia/Bangkok]") public class Integration extends Object
Manages where the TripPay payment widget can appear
  • Field Details

  • Constructor Details

    • Integration

      public Integration()
  • Method Details

    • identifier

      public Integration identifier(String identifier)
    • getIdentifier

      @Nonnull @NotNull public @NotNull String getIdentifier()
      Unique bank account identifier
      Returns:
      identifier
    • setIdentifier

      public void setIdentifier(String identifier)
    • apiKey

      public Integration apiKey(String apiKey)
    • getApiKey

      @Nonnull @NotNull public @NotNull String getApiKey()
      apiKey is sent along with the booking contract.
      Returns:
      apiKey
    • setApiKey

      public void setApiKey(String apiKey)
    • type

      public Integration type(Integration.TypeEnum type)
    • getType

      @Nonnull @NotNull public @NotNull Integration.TypeEnum getType()
      Type determines whether the booking will be paid by the agent or by the traveler.
      Returns:
      type
    • setType

      public void setType(Integration.TypeEnum type)
    • domains

      public Integration domains(List<String> domains)
    • addDomainsItem

      public Integration addDomainsItem(String domainsItem)
    • getDomains

      @Nonnull @NotNull @Size(min=0, max=2147483647) public @NotNull @Size(min=0,max=2147483647) List<String> getDomains()
      Integration needs to know where it will be integrated.
      Returns:
      domains
    • setDomains

      public void setDomains(List<String> domains)
    • 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