workflows

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transfer

type Transfer struct {
	TransferId           string   `protobuf:"bytes,1,opt,name=transfer_id,json=transferId,proto3" json:"transfer_id,omitempty"`
	FromAccountId        string   `protobuf:"bytes,2,opt,name=from_account_id,json=fromAccountId,proto3" json:"from_account_id,omitempty"`
	ToAccountId          string   `protobuf:"bytes,3,opt,name=to_account_id,json=toAccountId,proto3" json:"to_account_id,omitempty"`
	AmountInCents        int32    `protobuf:"varint,4,opt,name=amount_in_cents,json=amountInCents,proto3" json:"amount_in_cents,omitempty"`
	IsComplete           bool     `protobuf:"varint,5,opt,name=is_complete,json=isComplete,proto3" json:"is_complete,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Transfer) BeginWhenTransferStarted

func (w *Transfer) BeginWhenTransferStarted(m *messages.TransferStarted, exec ax.CommandExecutor)

BeginWhenTransferStarted responds to m.

func (*Transfer) Descriptor

func (*Transfer) Descriptor() ([]byte, []int)

func (*Transfer) GetAmountInCents

func (m *Transfer) GetAmountInCents() int32

func (*Transfer) GetFromAccountId

func (m *Transfer) GetFromAccountId() string

func (*Transfer) GetIsComplete

func (m *Transfer) GetIsComplete() bool

func (*Transfer) GetToAccountId

func (m *Transfer) GetToAccountId() string

func (*Transfer) GetTransferId

func (m *Transfer) GetTransferId() string

func (*Transfer) InstanceDescription

func (w *Transfer) InstanceDescription() string

InstanceDescription returns a human-readable description of the aggregate instance.

func (*Transfer) IsInstanceComplete

func (w *Transfer) IsInstanceComplete() bool

IsInstanceComplete returns true if the transfer has completed processing.

func (*Transfer) ProtoMessage

func (*Transfer) ProtoMessage()

func (*Transfer) Reset

func (m *Transfer) Reset()

func (*Transfer) String

func (m *Transfer) String() string

func (*Transfer) WhenAccountCredited

func (w *Transfer) WhenAccountCredited(m *messages.AccountCredited, mctx ax.MessageContext, exec ax.CommandExecutor)

WhenAccountCredited responds to m.

func (*Transfer) WhenAccountDebited

func (w *Transfer) WhenAccountDebited(m *messages.AccountDebited, exec ax.CommandExecutor)

WhenAccountDebited responds to m.

func (*Transfer) XXX_DiscardUnknown

func (m *Transfer) XXX_DiscardUnknown()

func (*Transfer) XXX_Marshal

func (m *Transfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Transfer) XXX_Merge

func (m *Transfer) XXX_Merge(src proto.Message)

func (*Transfer) XXX_Size

func (m *Transfer) XXX_Size() int

func (*Transfer) XXX_Unmarshal

func (m *Transfer) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL