SampleCashSchemaV2.PersistentCashState
Keywords: net.corda.finance.test.SampleCashSchemaV2.PersistentCashState class
Date: 2023-09-18

net.corda.finance.test

## Class SampleCashSchemaV2.PersistentCashState

- net.corda.finance.test.SampleCashSchemaV2.PersistentCashState

- Enclosing class:
    SampleCashSchemaV2

      @Entity
      public static class SampleCashSchemaV2.PersistentCashState

- - ### Constructor Detail

    - #### PersistentCashState

          public PersistentCashState(@NotNull
                                     java.lang.String currency,
                                     @NotNull
                                     java.util.Set<? extends net.corda.core.identity.AbstractParty> participants,
                                     @NotNull
                                     AbstractParty owner,
                                     long quantity,
                                     @NotNull
                                     AbstractParty issuerParty,
                                     @NotNull
                                     OpaqueBytes issuerRef)

      Parameters:
        `currency` - product type

  - ### Method Detail

    - #### getParticipants

          @Nullable
          public java.util.Set<net.corda.core.identity.AbstractParty> getParticipants()

      X500Name of participant parties

    - #### setParticipants

          public void setParticipants(@Nullable
                                      java.util.Set<net.corda.core.identity.AbstractParty> p)

      X500Name of participant parties

    - #### getCurrency

          @NotNull
          public java.lang.String getCurrency()

      product type

    - #### setCurrency

          public void setCurrency(@NotNull
                                  java.lang.String p)

      product type

      Parameters:
        `p` - product type