java.lang.Object
com.liferay.headless.commerce.admin.channel.dto.v1_0.ChannelAccount
All Implemented Interfaces:
Serializable

@Generated("") public class ChannelAccount extends Object implements Serializable
See Also:
Generated:
  • Field Details

    • account

      protected Account account
    • accountExternalReferenceCode

      protected String accountExternalReferenceCode
    • accountId

      @NotNull protected @NotNull Long accountId
    • actions

      protected Map<String,Map<String,String>> actions
    • channelAccountId

      protected Long channelAccountId
    • channelExternalReferenceCode

      protected String channelExternalReferenceCode
    • channelId

      @NotNull protected @NotNull Long channelId
    • xClassName

      public String xClassName
  • Constructor Details

    • ChannelAccount

      public ChannelAccount()
  • Method Details

    • toDTO

      public static ChannelAccount toDTO(String json)
    • unsafeToDTO

      public static ChannelAccount unsafeToDTO(String json)
    • getAccount

      @Valid public @Valid Account getAccount()
    • setAccount

      public void setAccount(Account account)
    • setAccount

      public void setAccount(com.liferay.petra.function.UnsafeSupplier<Account,Exception> accountUnsafeSupplier)
    • getAccountExternalReferenceCode

      public String getAccountExternalReferenceCode()
    • setAccountExternalReferenceCode

      public void setAccountExternalReferenceCode(String accountExternalReferenceCode)
    • setAccountExternalReferenceCode

      public void setAccountExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String,Exception> accountExternalReferenceCodeUnsafeSupplier)
    • getAccountId

      @DecimalMin("0") public @DecimalMin("0") Long getAccountId()
    • setAccountId

      public void setAccountId(Long accountId)
    • setAccountId

      public void setAccountId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> accountIdUnsafeSupplier)
    • getActions

      @Valid public @Valid Map<String,Map<String,String>> getActions()
    • setActions

      public void setActions(Map<String,Map<String,String>> actions)
    • setActions

      public void setActions(com.liferay.petra.function.UnsafeSupplier<Map<String,Map<String,String>>,Exception> actionsUnsafeSupplier)
    • getChannelAccountId

      @DecimalMin("0") public @DecimalMin("0") Long getChannelAccountId()
    • setChannelAccountId

      public void setChannelAccountId(Long channelAccountId)
    • setChannelAccountId

      public void setChannelAccountId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> channelAccountIdUnsafeSupplier)
    • getChannelExternalReferenceCode

      public String getChannelExternalReferenceCode()
    • setChannelExternalReferenceCode

      public void setChannelExternalReferenceCode(String channelExternalReferenceCode)
    • setChannelExternalReferenceCode

      public void setChannelExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String,Exception> channelExternalReferenceCodeUnsafeSupplier)
    • getChannelId

      @DecimalMin("0") public @DecimalMin("0") Long getChannelId()
    • setChannelId

      public void setChannelId(Long channelId)
    • setChannelId

      public void setChannelId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> channelIdUnsafeSupplier)
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object