DataVendingFlow
Keywords: net.corda.core.flows.DataVendingFlow class
Date: 2023-09-18

net.corda.core.flows

## Class DataVendingFlow

- net.corda.core.flows.FlowLogic<T>
- - net.corda.core.flows.DataVendingFlow

- Direct Known Subclasses:
    SendStateAndRefFlow, SendTransactionFlow

      public class DataVendingFlow
      extends FlowLogic<T>

- - ### Constructor Detail

    - #### DataVendingFlow

          public DataVendingFlow(@NotNull
                                 FlowSession otherSideSession,
                                 @NotNull
                                 java.lang.Object payload)

  - ### Method Detail

    - #### sendPayloadAndReceiveDataRequest

          @Suspendable
           @NotNull
          protected UntrustworthyData<net.corda.core.internal.FetchDataFlow.Request> sendPayloadAndReceiveDataRequest(@NotNull
                                                                                                                                             FlowSession otherSideSession,
                                                                                                                                             @NotNull
                                                                                                                                             java.lang.Object payload)

    - #### verifyDataRequest

          @Suspendable
          protected void verifyDataRequest(@NotNull
                                                        net.corda.core.internal.FetchDataFlow.Request.Data dataRequest)

    - #### call

          @Suspendable
           @Nullable
          public java.lang.Void call()

      This is where you fill out your business logic.

    - #### getOtherSideSession

          @NotNull
          public FlowSession getOtherSideSession()

    - #### getPayload

          @NotNull
          public java.lang.Object getPayload()