cardspb

package
v0.77.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterCardsServer

func RegisterCardsServer(s *grpc.Server, srv CardsServer)

func RegisterWalletServer

func RegisterWalletServer(s *grpc.Server, srv WalletServer)

Types

type AppleRequest

type AppleRequest struct {
	Fpan                 string   `protobuf:"bytes,1,opt,name=fpan,proto3" json:"fpan,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AppleRequest) Descriptor

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

func (*AppleRequest) GetFpan

func (m *AppleRequest) GetFpan() string

func (*AppleRequest) ProtoMessage

func (*AppleRequest) ProtoMessage()

func (*AppleRequest) Reset

func (m *AppleRequest) Reset()

func (*AppleRequest) String

func (m *AppleRequest) String() string

func (*AppleRequest) XXX_DiscardUnknown

func (m *AppleRequest) XXX_DiscardUnknown()

func (*AppleRequest) XXX_Marshal

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

func (*AppleRequest) XXX_Merge

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

func (*AppleRequest) XXX_Size

func (m *AppleRequest) XXX_Size() int

func (*AppleRequest) XXX_Unmarshal

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

type AppleResponse

type AppleResponse struct {
	ActivationData       string   `protobuf:"bytes,1,opt,name=activation_data,json=activationData,proto3" json:"activation_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AppleResponse) Descriptor

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

func (*AppleResponse) GetActivationData

func (m *AppleResponse) GetActivationData() string

func (*AppleResponse) ProtoMessage

func (*AppleResponse) ProtoMessage()

func (*AppleResponse) Reset

func (m *AppleResponse) Reset()

func (*AppleResponse) String

func (m *AppleResponse) String() string

func (*AppleResponse) XXX_DiscardUnknown

func (m *AppleResponse) XXX_DiscardUnknown()

func (*AppleResponse) XXX_Marshal

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

func (*AppleResponse) XXX_Merge

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

func (*AppleResponse) XXX_Size

func (m *AppleResponse) XXX_Size() int

func (*AppleResponse) XXX_Unmarshal

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

type Card

type Card struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Card is a credit or debit card.

func (*Card) Descriptor

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

func (*Card) GetName

func (m *Card) GetName() string

func (*Card) ProtoMessage

func (*Card) ProtoMessage()

func (*Card) Reset

func (m *Card) Reset()

func (*Card) String

func (m *Card) String() string

func (*Card) XXX_DiscardUnknown

func (m *Card) XXX_DiscardUnknown()

func (*Card) XXX_Marshal

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

func (*Card) XXX_Merge

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

func (*Card) XXX_Size

func (m *Card) XXX_Size() int

func (*Card) XXX_Unmarshal

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

type CardsClient

type CardsClient interface {
	GetCards(ctx context.Context, in *GetCardsRequest, opts ...grpc.CallOption) (*GetCardsResponse, error)
}

CardsClient is the client API for Cards service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewCardsClient

func NewCardsClient(cc grpc.ClientConnInterface) CardsClient

type CardsServer

type CardsServer interface {
	GetCards(context.Context, *GetCardsRequest) (*GetCardsResponse, error)
}

CardsServer is the server API for Cards service.

type GetCardsRequest

type GetCardsRequest struct {
	PersonaId            string   `protobuf:"bytes,1,opt,name=persona_id,json=personaId,proto3" json:"persona_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetCardsRequest) Descriptor

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

func (*GetCardsRequest) GetPersonaId

func (m *GetCardsRequest) GetPersonaId() string

func (*GetCardsRequest) ProtoMessage

func (*GetCardsRequest) ProtoMessage()

func (*GetCardsRequest) Reset

func (m *GetCardsRequest) Reset()

func (*GetCardsRequest) String

func (m *GetCardsRequest) String() string

func (*GetCardsRequest) XXX_DiscardUnknown

func (m *GetCardsRequest) XXX_DiscardUnknown()

func (*GetCardsRequest) XXX_Marshal

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

func (*GetCardsRequest) XXX_Merge

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

func (*GetCardsRequest) XXX_Size

func (m *GetCardsRequest) XXX_Size() int

func (*GetCardsRequest) XXX_Unmarshal

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

type GetCardsResponse

type GetCardsResponse struct {
	Cards                []*Card  `protobuf:"bytes,1,rep,name=cards,proto3" json:"cards,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetCardsResponse) Descriptor

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

func (*GetCardsResponse) GetCards

func (m *GetCardsResponse) GetCards() []*Card

func (*GetCardsResponse) ProtoMessage

func (*GetCardsResponse) ProtoMessage()

func (*GetCardsResponse) Reset

func (m *GetCardsResponse) Reset()

func (*GetCardsResponse) String

func (m *GetCardsResponse) String() string

func (*GetCardsResponse) XXX_DiscardUnknown

func (m *GetCardsResponse) XXX_DiscardUnknown()

func (*GetCardsResponse) XXX_Marshal

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

func (*GetCardsResponse) XXX_Merge

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

func (*GetCardsResponse) XXX_Size

func (m *GetCardsResponse) XXX_Size() int

func (*GetCardsResponse) XXX_Unmarshal

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

type UnimplementedCardsServer

type UnimplementedCardsServer struct {
}

UnimplementedCardsServer can be embedded to have forward compatible implementations.

func (*UnimplementedCardsServer) GetCards

type UnimplementedWalletServer

type UnimplementedWalletServer struct {
}

UnimplementedWalletServer can be embedded to have forward compatible implementations.

func (*UnimplementedWalletServer) Apple

type WalletClient

type WalletClient interface {
	Apple(ctx context.Context, in *AppleRequest, opts ...grpc.CallOption) (*AppleResponse, error)
}

WalletClient is the client API for Wallet service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewWalletClient

func NewWalletClient(cc grpc.ClientConnInterface) WalletClient

type WalletServer

type WalletServer interface {
	Apple(context.Context, *AppleRequest) (*AppleResponse, error)
}

WalletServer is the server API for Wallet service.

Jump to

Keyboard shortcuts

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