Documentation ¶
Index ¶
- Variables
- func RegisterPlutusServer(s *grpc.Server, srv PlutusServer)
- type ActiveDiscountsRequest
- func (*ActiveDiscountsRequest) Descriptor() ([]byte, []int)
- func (m *ActiveDiscountsRequest) GetUntil() *timestamp.Timestamp
- func (*ActiveDiscountsRequest) ProtoMessage()
- func (m *ActiveDiscountsRequest) Reset()
- func (m *ActiveDiscountsRequest) String() string
- func (m *ActiveDiscountsRequest) XXX_DiscardUnknown()
- func (m *ActiveDiscountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ActiveDiscountsRequest) XXX_Merge(src proto.Message)
- func (m *ActiveDiscountsRequest) XXX_Size() int
- func (m *ActiveDiscountsRequest) XXX_Unmarshal(b []byte) error
- type Card
- func (*Card) Descriptor() ([]byte, []int)
- func (m *Card) GetCvc() string
- func (m *Card) GetExpMont() int32
- func (m *Card) GetExpYear() int32
- func (m *Card) GetNumber() string
- func (*Card) ProtoMessage()
- func (m *Card) Reset()
- func (m *Card) String() string
- func (m *Card) XXX_DiscardUnknown()
- func (m *Card) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Card) XXX_Merge(src proto.Message)
- func (m *Card) XXX_Size() int
- func (m *Card) XXX_Unmarshal(b []byte) error
- type CardToken
- func (*CardToken) Descriptor() ([]byte, []int)
- func (m *CardToken) GetCreatedAt() *timestamp.Timestamp
- func (m *CardToken) GetId() string
- func (m *CardToken) GetProvider() Provider
- func (m *CardToken) GetType() CardTokenType
- func (m *CardToken) GetValue() string
- func (m *CardToken) GetWithCard() *EncodedCardDetails
- func (*CardToken) ProtoMessage()
- func (m *CardToken) Reset()
- func (m *CardToken) String() string
- func (m *CardToken) XXX_DiscardUnknown()
- func (m *CardToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CardToken) XXX_Merge(src proto.Message)
- func (m *CardToken) XXX_Size() int
- func (m *CardToken) XXX_Unmarshal(b []byte) error
- type CardTokenByCustomer
- func (*CardTokenByCustomer) Descriptor() ([]byte, []int)
- func (m *CardTokenByCustomer) GetCustomer() *Customer
- func (*CardTokenByCustomer) ProtoMessage()
- func (m *CardTokenByCustomer) Reset()
- func (m *CardTokenByCustomer) String() string
- func (m *CardTokenByCustomer) XXX_DiscardUnknown()
- func (m *CardTokenByCustomer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CardTokenByCustomer) XXX_Merge(src proto.Message)
- func (m *CardTokenByCustomer) XXX_Size() int
- func (m *CardTokenByCustomer) XXX_Unmarshal(b []byte) error
- type CardTokenByID
- func (*CardTokenByID) Descriptor() ([]byte, []int)
- func (m *CardTokenByID) GetId() string
- func (*CardTokenByID) ProtoMessage()
- func (m *CardTokenByID) Reset()
- func (m *CardTokenByID) String() string
- func (m *CardTokenByID) XXX_DiscardUnknown()
- func (m *CardTokenByID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CardTokenByID) XXX_Merge(src proto.Message)
- func (m *CardTokenByID) XXX_Size() int
- func (m *CardTokenByID) XXX_Unmarshal(b []byte) error
- type CardTokenType
- type ChargeSaleAutoRequest
- func (*ChargeSaleAutoRequest) Descriptor() ([]byte, []int)
- func (m *ChargeSaleAutoRequest) GetCardTokenID() string
- func (m *ChargeSaleAutoRequest) GetDetails() string
- func (m *ChargeSaleAutoRequest) GetSaleID() string
- func (*ChargeSaleAutoRequest) ProtoMessage()
- func (m *ChargeSaleAutoRequest) Reset()
- func (m *ChargeSaleAutoRequest) String() string
- func (m *ChargeSaleAutoRequest) XXX_DiscardUnknown()
- func (m *ChargeSaleAutoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChargeSaleAutoRequest) XXX_Merge(src proto.Message)
- func (m *ChargeSaleAutoRequest) XXX_Size() int
- func (m *ChargeSaleAutoRequest) XXX_Unmarshal(b []byte) error
- type ChargeSaleRequest
- func (*ChargeSaleRequest) Descriptor() ([]byte, []int)
- func (m *ChargeSaleRequest) GetCardTokenID() string
- func (m *ChargeSaleRequest) GetDetails() string
- func (m *ChargeSaleRequest) GetProvider() Provider
- func (m *ChargeSaleRequest) GetSaleID() string
- func (*ChargeSaleRequest) ProtoMessage()
- func (m *ChargeSaleRequest) Reset()
- func (m *ChargeSaleRequest) String() string
- func (m *ChargeSaleRequest) XXX_DiscardUnknown()
- func (m *ChargeSaleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChargeSaleRequest) XXX_Merge(src proto.Message)
- func (m *ChargeSaleRequest) XXX_Size() int
- func (m *ChargeSaleRequest) XXX_Unmarshal(b []byte) error
- type ChargeToken
- func (*ChargeToken) Descriptor() ([]byte, []int)
- func (m *ChargeToken) GetCreatedAt() *timestamp.Timestamp
- func (m *ChargeToken) GetId() string
- func (m *ChargeToken) GetMessage() string
- func (m *ChargeToken) GetProvider() Provider
- func (m *ChargeToken) GetValue() string
- func (m *ChargeToken) GetWithCardToken() *CardToken
- func (*ChargeToken) ProtoMessage()
- func (m *ChargeToken) Reset()
- func (m *ChargeToken) String() string
- func (m *ChargeToken) XXX_DiscardUnknown()
- func (m *ChargeToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChargeToken) XXX_Merge(src proto.Message)
- func (m *ChargeToken) XXX_Size() int
- func (m *ChargeToken) XXX_Unmarshal(b []byte) error
- type ChargeWithNativeToken
- func (*ChargeWithNativeToken) Descriptor() ([]byte, []int)
- func (m *ChargeWithNativeToken) GetDetails() string
- func (m *ChargeWithNativeToken) GetNativeToken() string
- func (m *ChargeWithNativeToken) GetProvider() Provider
- func (m *ChargeWithNativeToken) GetSaleID() string
- func (*ChargeWithNativeToken) ProtoMessage()
- func (m *ChargeWithNativeToken) Reset()
- func (m *ChargeWithNativeToken) String() string
- func (m *ChargeWithNativeToken) XXX_DiscardUnknown()
- func (m *ChargeWithNativeToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChargeWithNativeToken) XXX_Merge(src proto.Message)
- func (m *ChargeWithNativeToken) XXX_Size() int
- func (m *ChargeWithNativeToken) XXX_Unmarshal(b []byte) error
- type Cost
- func (*Cost) Descriptor() ([]byte, []int)
- func (m *Cost) GetAmount() float64
- func (m *Cost) GetCurrency() string
- func (*Cost) ProtoMessage()
- func (m *Cost) Reset()
- func (m *Cost) String() string
- func (m *Cost) XXX_DiscardUnknown()
- func (m *Cost) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Cost) XXX_Merge(src proto.Message)
- func (m *Cost) XXX_Size() int
- func (m *Cost) XXX_Unmarshal(b []byte) error
- type Customer
- func (*Customer) Descriptor() ([]byte, []int)
- func (m *Customer) GetEmail() string
- func (m *Customer) GetId() string
- func (m *Customer) GetLocation() *Location
- func (m *Customer) GetName() string
- func (m *Customer) GetPerson() string
- func (m *Customer) GetPhone() string
- func (*Customer) ProtoMessage()
- func (m *Customer) Reset()
- func (m *Customer) String() string
- func (m *Customer) XXX_DiscardUnknown()
- func (m *Customer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Customer) XXX_Merge(src proto.Message)
- func (m *Customer) XXX_Size() int
- func (m *Customer) XXX_Unmarshal(b []byte) error
- type DeliverChannelResponse
- func (*DeliverChannelResponse) Descriptor() ([]byte, []int)
- func (m *DeliverChannelResponse) GetCode() string
- func (m *DeliverChannelResponse) GetMessage() string
- func (*DeliverChannelResponse) ProtoMessage()
- func (m *DeliverChannelResponse) Reset()
- func (m *DeliverChannelResponse) String() string
- func (m *DeliverChannelResponse) XXX_DiscardUnknown()
- func (m *DeliverChannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeliverChannelResponse) XXX_Merge(src proto.Message)
- func (m *DeliverChannelResponse) XXX_Size() int
- func (m *DeliverChannelResponse) XXX_Unmarshal(b []byte) error
- type DeliverSaleRequest
- func (*DeliverSaleRequest) Descriptor() ([]byte, []int)
- func (m *DeliverSaleRequest) GetChannelName() string
- func (m *DeliverSaleRequest) GetMetadata() map[string]string
- func (m *DeliverSaleRequest) GetSaleID() string
- func (*DeliverSaleRequest) ProtoMessage()
- func (m *DeliverSaleRequest) Reset()
- func (m *DeliverSaleRequest) String() string
- func (m *DeliverSaleRequest) XXX_DiscardUnknown()
- func (m *DeliverSaleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeliverSaleRequest) XXX_Merge(src proto.Message)
- func (m *DeliverSaleRequest) XXX_Size() int
- func (m *DeliverSaleRequest) XXX_Unmarshal(b []byte) error
- type Discount
- func (*Discount) Descriptor() ([]byte, []int)
- func (m *Discount) GetAmount() float64
- func (m *Discount) GetCurrency() string
- func (m *Discount) GetPercent() float64
- func (m *Discount) GetType() DiscountType
- func (*Discount) ProtoMessage()
- func (m *Discount) Reset()
- func (m *Discount) String() string
- func (m *Discount) XXX_DiscardUnknown()
- func (m *Discount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Discount) XXX_Merge(src proto.Message)
- func (m *Discount) XXX_Size() int
- func (m *Discount) XXX_Unmarshal(b []byte) error
- type DiscountCode
- func (*DiscountCode) Descriptor() ([]byte, []int)
- func (m *DiscountCode) GetCode() string
- func (m *DiscountCode) GetEnd() *timestamp.Timestamp
- func (m *DiscountCode) GetId() string
- func (m *DiscountCode) GetMaxUses() int32
- func (m *DiscountCode) GetStart() *timestamp.Timestamp
- func (m *DiscountCode) GetUses() []*DiscountUseRecord
- func (m *DiscountCode) GetValue() *Discount
- func (*DiscountCode) ProtoMessage()
- func (m *DiscountCode) Reset()
- func (m *DiscountCode) String() string
- func (m *DiscountCode) XXX_DiscardUnknown()
- func (m *DiscountCode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DiscountCode) XXX_Merge(src proto.Message)
- func (m *DiscountCode) XXX_Size() int
- func (m *DiscountCode) XXX_Unmarshal(b []byte) error
- type DiscountCodeExist
- func (*DiscountCodeExist) Descriptor() ([]byte, []int)
- func (m *DiscountCodeExist) GetOk() bool
- func (*DiscountCodeExist) ProtoMessage()
- func (m *DiscountCodeExist) Reset()
- func (m *DiscountCodeExist) String() string
- func (m *DiscountCodeExist) XXX_DiscardUnknown()
- func (m *DiscountCodeExist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DiscountCodeExist) XXX_Merge(src proto.Message)
- func (m *DiscountCodeExist) XXX_Size() int
- func (m *DiscountCodeExist) XXX_Unmarshal(b []byte) error
- type DiscountCodeID
- func (*DiscountCodeID) Descriptor() ([]byte, []int)
- func (m *DiscountCodeID) GetId() string
- func (*DiscountCodeID) ProtoMessage()
- func (m *DiscountCodeID) Reset()
- func (m *DiscountCodeID) String() string
- func (m *DiscountCodeID) XXX_DiscardUnknown()
- func (m *DiscountCodeID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DiscountCodeID) XXX_Merge(src proto.Message)
- func (m *DiscountCodeID) XXX_Size() int
- func (m *DiscountCodeID) XXX_Unmarshal(b []byte) error
- type DiscountCodeRequest
- func (*DiscountCodeRequest) Descriptor() ([]byte, []int)
- func (*DiscountCodeRequest) ProtoMessage()
- func (m *DiscountCodeRequest) Reset()
- func (m *DiscountCodeRequest) String() string
- func (m *DiscountCodeRequest) XXX_DiscardUnknown()
- func (m *DiscountCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DiscountCodeRequest) XXX_Merge(src proto.Message)
- func (m *DiscountCodeRequest) XXX_Size() int
- func (m *DiscountCodeRequest) XXX_Unmarshal(b []byte) error
- type DiscountCodeValue
- func (*DiscountCodeValue) Descriptor() ([]byte, []int)
- func (m *DiscountCodeValue) GetCustomerID() string
- func (m *DiscountCodeValue) GetValue() string
- func (*DiscountCodeValue) ProtoMessage()
- func (m *DiscountCodeValue) Reset()
- func (m *DiscountCodeValue) String() string
- func (m *DiscountCodeValue) XXX_DiscardUnknown()
- func (m *DiscountCodeValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DiscountCodeValue) XXX_Merge(src proto.Message)
- func (m *DiscountCodeValue) XXX_Size() int
- func (m *DiscountCodeValue) XXX_Unmarshal(b []byte) error
- type DiscountCodes
- func (*DiscountCodes) Descriptor() ([]byte, []int)
- func (m *DiscountCodes) GetDiscounts() []*DiscountCode
- func (*DiscountCodes) ProtoMessage()
- func (m *DiscountCodes) Reset()
- func (m *DiscountCodes) String() string
- func (m *DiscountCodes) XXX_DiscardUnknown()
- func (m *DiscountCodes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DiscountCodes) XXX_Merge(src proto.Message)
- func (m *DiscountCodes) XXX_Size() int
- func (m *DiscountCodes) XXX_Unmarshal(b []byte) error
- type DiscountType
- type DiscountUseRecord
- func (*DiscountUseRecord) Descriptor() ([]byte, []int)
- func (m *DiscountUseRecord) GetAt() *timestamp.Timestamp
- func (m *DiscountUseRecord) GetBy() *Customer
- func (*DiscountUseRecord) ProtoMessage()
- func (m *DiscountUseRecord) Reset()
- func (m *DiscountUseRecord) String() string
- func (m *DiscountUseRecord) XXX_DiscardUnknown()
- func (m *DiscountUseRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DiscountUseRecord) XXX_Merge(src proto.Message)
- func (m *DiscountUseRecord) XXX_Size() int
- func (m *DiscountUseRecord) XXX_Unmarshal(b []byte) error
- type EncodedCardDetails
- func (*EncodedCardDetails) Descriptor() ([]byte, []int)
- func (m *EncodedCardDetails) GetCustomer() *Customer
- func (m *EncodedCardDetails) GetExpirationYear() int32
- func (m *EncodedCardDetails) GetNumber() string
- func (*EncodedCardDetails) ProtoMessage()
- func (m *EncodedCardDetails) Reset()
- func (m *EncodedCardDetails) String() string
- func (m *EncodedCardDetails) XXX_DiscardUnknown()
- func (m *EncodedCardDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EncodedCardDetails) XXX_Merge(src proto.Message)
- func (m *EncodedCardDetails) XXX_Size() int
- func (m *EncodedCardDetails) XXX_Unmarshal(b []byte) error
- type FastSale
- func (*FastSale) Descriptor() ([]byte, []int)
- func (m *FastSale) GetCustomerEmail() string
- func (m *FastSale) GetProducts() []*Product
- func (*FastSale) ProtoMessage()
- func (m *FastSale) Reset()
- func (m *FastSale) String() string
- func (m *FastSale) XXX_DiscardUnknown()
- func (m *FastSale) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FastSale) XXX_Merge(src proto.Message)
- func (m *FastSale) XXX_Size() int
- func (m *FastSale) XXX_Unmarshal(b []byte) error
- type Location
- func (*Location) Descriptor() ([]byte, []int)
- func (m *Location) GetAddress() string
- func (m *Location) GetCity() string
- func (m *Location) GetState() string
- func (m *Location) GetZip() string
- func (*Location) ProtoMessage()
- func (m *Location) Reset()
- func (m *Location) String() string
- func (m *Location) XXX_DiscardUnknown()
- func (m *Location) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Location) XXX_Merge(src proto.Message)
- func (m *Location) XXX_Size() int
- func (m *Location) XXX_Unmarshal(b []byte) error
- type NewCardTokenAutoRequest
- func (*NewCardTokenAutoRequest) Descriptor() ([]byte, []int)
- func (m *NewCardTokenAutoRequest) GetCard() *Card
- func (m *NewCardTokenAutoRequest) GetCustomer() *Customer
- func (m *NewCardTokenAutoRequest) GetType() CardTokenType
- func (*NewCardTokenAutoRequest) ProtoMessage()
- func (m *NewCardTokenAutoRequest) Reset()
- func (m *NewCardTokenAutoRequest) String() string
- func (m *NewCardTokenAutoRequest) XXX_DiscardUnknown()
- func (m *NewCardTokenAutoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NewCardTokenAutoRequest) XXX_Merge(src proto.Message)
- func (m *NewCardTokenAutoRequest) XXX_Size() int
- func (m *NewCardTokenAutoRequest) XXX_Unmarshal(b []byte) error
- type NewCardTokenNativeRequest
- func (*NewCardTokenNativeRequest) Descriptor() ([]byte, []int)
- func (m *NewCardTokenNativeRequest) GetCustomer() *Customer
- func (m *NewCardTokenNativeRequest) GetProvider() Provider
- func (m *NewCardTokenNativeRequest) GetToken() string
- func (m *NewCardTokenNativeRequest) GetType() CardTokenType
- func (*NewCardTokenNativeRequest) ProtoMessage()
- func (m *NewCardTokenNativeRequest) Reset()
- func (m *NewCardTokenNativeRequest) String() string
- func (m *NewCardTokenNativeRequest) XXX_DiscardUnknown()
- func (m *NewCardTokenNativeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NewCardTokenNativeRequest) XXX_Merge(src proto.Message)
- func (m *NewCardTokenNativeRequest) XXX_Size() int
- func (m *NewCardTokenNativeRequest) XXX_Unmarshal(b []byte) error
- type NewCardTokenRequest
- func (*NewCardTokenRequest) Descriptor() ([]byte, []int)
- func (m *NewCardTokenRequest) GetCard() *Card
- func (m *NewCardTokenRequest) GetCustomer() *Customer
- func (m *NewCardTokenRequest) GetProvider() Provider
- func (m *NewCardTokenRequest) GetType() CardTokenType
- func (*NewCardTokenRequest) ProtoMessage()
- func (m *NewCardTokenRequest) Reset()
- func (m *NewCardTokenRequest) String() string
- func (m *NewCardTokenRequest) XXX_DiscardUnknown()
- func (m *NewCardTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NewCardTokenRequest) XXX_Merge(src proto.Message)
- func (m *NewCardTokenRequest) XXX_Size() int
- func (m *NewCardTokenRequest) XXX_Unmarshal(b []byte) error
- type NewSaleRequest
- func (*NewSaleRequest) Descriptor() ([]byte, []int)
- func (m *NewSaleRequest) GetCustomer() *Customer
- func (m *NewSaleRequest) GetProducts() []*Product
- func (*NewSaleRequest) ProtoMessage()
- func (m *NewSaleRequest) Reset()
- func (m *NewSaleRequest) String() string
- func (m *NewSaleRequest) XXX_DiscardUnknown()
- func (m *NewSaleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NewSaleRequest) XXX_Merge(src proto.Message)
- func (m *NewSaleRequest) XXX_Size() int
- func (m *NewSaleRequest) XXX_Unmarshal(b []byte) error
- type PlutusClient
- type PlutusServer
- type Product
- func (*Product) Descriptor() ([]byte, []int)
- func (m *Product) GetCost() *Cost
- func (m *Product) GetDetails() string
- func (m *Product) GetName() string
- func (*Product) ProtoMessage()
- func (m *Product) Reset()
- func (m *Product) String() string
- func (m *Product) XXX_DiscardUnknown()
- func (m *Product) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Product) XXX_Merge(src proto.Message)
- func (m *Product) XXX_Size() int
- func (m *Product) XXX_Unmarshal(b []byte) error
- type Provider
- type Sale
- func (*Sale) Descriptor() ([]byte, []int)
- func (m *Sale) GetCardToken() *CardToken
- func (m *Sale) GetCharge() *ChargeToken
- func (m *Sale) GetCreatedAt() *timestamp.Timestamp
- func (m *Sale) GetCurrencyToPay() string
- func (m *Sale) GetCustomer() *Customer
- func (m *Sale) GetDiscountCodes() []*DiscountCode
- func (m *Sale) GetId() string
- func (m *Sale) GetProducts() []*Product
- func (m *Sale) GetState() SaleState
- func (m *Sale) GetUpdatedAt() *timestamp.Timestamp
- func (*Sale) ProtoMessage()
- func (m *Sale) Reset()
- func (m *Sale) String() string
- func (m *Sale) XXX_DiscardUnknown()
- func (m *Sale) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Sale) XXX_Merge(src proto.Message)
- func (m *Sale) XXX_Size() int
- func (m *Sale) XXX_Unmarshal(b []byte) error
- type SaleIDRequest
- func (*SaleIDRequest) Descriptor() ([]byte, []int)
- func (m *SaleIDRequest) GetId() string
- func (*SaleIDRequest) ProtoMessage()
- func (m *SaleIDRequest) Reset()
- func (m *SaleIDRequest) String() string
- func (m *SaleIDRequest) XXX_DiscardUnknown()
- func (m *SaleIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SaleIDRequest) XXX_Merge(src proto.Message)
- func (m *SaleIDRequest) XXX_Size() int
- func (m *SaleIDRequest) XXX_Unmarshal(b []byte) error
- type SaleState
- type SaleUpdateRequest
- func (*SaleUpdateRequest) Descriptor() ([]byte, []int)
- func (m *SaleUpdateRequest) GetId() string
- func (m *SaleUpdateRequest) GetUpdateData() *Sale
- func (*SaleUpdateRequest) ProtoMessage()
- func (m *SaleUpdateRequest) Reset()
- func (m *SaleUpdateRequest) String() string
- func (m *SaleUpdateRequest) XXX_DiscardUnknown()
- func (m *SaleUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SaleUpdateRequest) XXX_Merge(src proto.Message)
- func (m *SaleUpdateRequest) XXX_Size() int
- func (m *SaleUpdateRequest) XXX_Unmarshal(b []byte) error
- type Sales
- func (*Sales) Descriptor() ([]byte, []int)
- func (m *Sales) GetNext() int32
- func (m *Sales) GetPage() int32
- func (m *Sales) GetSales() []*Sale
- func (m *Sales) GetTotal() int32
- func (*Sales) ProtoMessage()
- func (m *Sales) Reset()
- func (m *Sales) String() string
- func (m *Sales) XXX_DiscardUnknown()
- func (m *Sales) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Sales) XXX_Merge(src proto.Message)
- func (m *Sales) XXX_Size() int
- func (m *Sales) XXX_Unmarshal(b []byte) error
- type SalesFilterRequest
- func (*SalesFilterRequest) Descriptor() ([]byte, []int)
- func (m *SalesFilterRequest) GetByCardTokenID() string
- func (m *SalesFilterRequest) GetByChargeTokenID() string
- func (m *SalesFilterRequest) GetByStates() []SaleState
- func (m *SalesFilterRequest) GetFrom() *timestamp.Timestamp
- func (m *SalesFilterRequest) GetItemsPerPage() int32
- func (m *SalesFilterRequest) GetPage() int32
- func (m *SalesFilterRequest) GetTo() *timestamp.Timestamp
- func (*SalesFilterRequest) ProtoMessage()
- func (m *SalesFilterRequest) Reset()
- func (m *SalesFilterRequest) String() string
- func (m *SalesFilterRequest) XXX_DiscardUnknown()
- func (m *SalesFilterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SalesFilterRequest) XXX_Merge(src proto.Message)
- func (m *SalesFilterRequest) XXX_Size() int
- func (m *SalesFilterRequest) XXX_Unmarshal(b []byte) error
- type UnimplementedPlutusServer
- func (*UnimplementedPlutusServer) ChargeSale(ctx context.Context, req *ChargeSaleRequest) (*ChargeToken, error)
- func (*UnimplementedPlutusServer) ChargeSaleAuto(ctx context.Context, req *ChargeSaleAutoRequest) (*ChargeToken, error)
- func (*UnimplementedPlutusServer) ChargeSaleWithNativeToken(ctx context.Context, req *ChargeWithNativeToken) (*ChargeToken, error)
- func (*UnimplementedPlutusServer) CreateDiscountCode(ctx context.Context, req *DiscountCodeRequest) (*DiscountCode, error)
- func (*UnimplementedPlutusServer) DeleteCardToken(ctx context.Context, req *CardTokenByID) (*CardToken, error)
- func (*UnimplementedPlutusServer) DeleteDiscountCode(ctx context.Context, req *DiscountCodeID) (*DiscountCodes, error)
- func (*UnimplementedPlutusServer) DeliverSale(ctx context.Context, req *DeliverSaleRequest) (*DeliverChannelResponse, error)
- func (*UnimplementedPlutusServer) DoneSale(ctx context.Context, req *SaleIDRequest) (*Sale, error)
- func (*UnimplementedPlutusServer) GetActiveDiscountCodes(ctx context.Context, req *ActiveDiscountsRequest) (*DiscountCodes, error)
- func (*UnimplementedPlutusServer) GetCardTokenOfCustomerByID(ctx context.Context, req *CardTokenByID) (*CardToken, error)
- func (*UnimplementedPlutusServer) GetDiscountCode(ctx context.Context, req *DiscountCodeID) (*DiscountCode, error)
- func (*UnimplementedPlutusServer) GetSale(ctx context.Context, req *SaleIDRequest) (*Sale, error)
- func (*UnimplementedPlutusServer) GetSales(ctx context.Context, req *SalesFilterRequest) (*Sales, error)
- func (*UnimplementedPlutusServer) NewCardToken(ctx context.Context, req *NewCardTokenRequest) (*CardToken, error)
- func (*UnimplementedPlutusServer) NewCardTokenAuto(ctx context.Context, req *NewCardTokenAutoRequest) (*CardToken, error)
- func (*UnimplementedPlutusServer) NewCardTokenFromNative(ctx context.Context, req *NewCardTokenNativeRequest) (*CardToken, error)
- func (*UnimplementedPlutusServer) NewFastSale(ctx context.Context, req *FastSale) (*Sale, error)
- func (*UnimplementedPlutusServer) NewSale(ctx context.Context, req *NewSaleRequest) (*Sale, error)
- func (*UnimplementedPlutusServer) UpdateSale(ctx context.Context, req *SaleUpdateRequest) (*Sale, error)
- func (*UnimplementedPlutusServer) ValidateDiscountCode(ctx context.Context, req *DiscountCodeValue) (*DiscountCodeExist, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var CardTokenType_name = map[int32]string{
0: "ONEUSE",
1: "RECURRENT",
}
View Source
var CardTokenType_value = map[string]int32{
"ONEUSE": 0,
"RECURRENT": 1,
}
View Source
var DiscountType_name = map[int32]string{
0: "STATIC",
1: "PERCENT",
}
View Source
var DiscountType_value = map[string]int32{
"STATIC": 0,
"PERCENT": 1,
}
View Source
var Provider_name = map[int32]string{
0: "CULQI",
1: "PAYPAL",
2: "VISANET",
3: "STRIPE",
4: "DUMMY",
}
View Source
var Provider_value = map[string]int32{
"CULQI": 0,
"PAYPAL": 1,
"VISANET": 2,
"STRIPE": 3,
"DUMMY": 4,
}
View Source
var SaleState_name = map[int32]string{
0: "NULL",
1: "DRAFT",
2: "SIGNED",
3: "PAIDOUT",
4: "DONE",
}
View Source
var SaleState_value = map[string]int32{
"NULL": 0,
"DRAFT": 1,
"SIGNED": 2,
"PAIDOUT": 3,
"DONE": 4,
}
Functions ¶
func RegisterPlutusServer ¶
func RegisterPlutusServer(s *grpc.Server, srv PlutusServer)
Types ¶
type ActiveDiscountsRequest ¶
type ActiveDiscountsRequest struct { Until *timestamp.Timestamp `protobuf:"bytes,1,opt,name=until,proto3" json:"until,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ActiveDiscountsRequest) Descriptor ¶
func (*ActiveDiscountsRequest) Descriptor() ([]byte, []int)
func (*ActiveDiscountsRequest) GetUntil ¶
func (m *ActiveDiscountsRequest) GetUntil() *timestamp.Timestamp
func (*ActiveDiscountsRequest) ProtoMessage ¶
func (*ActiveDiscountsRequest) ProtoMessage()
func (*ActiveDiscountsRequest) Reset ¶
func (m *ActiveDiscountsRequest) Reset()
func (*ActiveDiscountsRequest) String ¶
func (m *ActiveDiscountsRequest) String() string
func (*ActiveDiscountsRequest) XXX_DiscardUnknown ¶
func (m *ActiveDiscountsRequest) XXX_DiscardUnknown()
func (*ActiveDiscountsRequest) XXX_Marshal ¶
func (m *ActiveDiscountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActiveDiscountsRequest) XXX_Merge ¶
func (m *ActiveDiscountsRequest) XXX_Merge(src proto.Message)
func (*ActiveDiscountsRequest) XXX_Size ¶
func (m *ActiveDiscountsRequest) XXX_Size() int
func (*ActiveDiscountsRequest) XXX_Unmarshal ¶
func (m *ActiveDiscountsRequest) XXX_Unmarshal(b []byte) error
type Card ¶
type Card struct { Number string `protobuf:"bytes,1,opt,name=number,proto3" json:"number,omitempty"` ExpMont int32 `protobuf:"varint,2,opt,name=expMont,proto3" json:"expMont,omitempty"` ExpYear int32 `protobuf:"varint,3,opt,name=expYear,proto3" json:"expYear,omitempty"` Cvc string `protobuf:"bytes,4,opt,name=cvc,proto3" json:"cvc,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Card) Descriptor ¶
func (*Card) GetExpMont ¶
func (*Card) GetExpYear ¶
func (*Card) ProtoMessage ¶
func (*Card) ProtoMessage()
func (*Card) XXX_DiscardUnknown ¶
func (m *Card) XXX_DiscardUnknown()
func (*Card) XXX_Unmarshal ¶
type CardToken ¶
type CardToken struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type CardTokenType `protobuf:"varint,2,opt,name=type,proto3,enum=CardTokenType" json:"type,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` Provider Provider `protobuf:"varint,6,opt,name=provider,proto3,enum=Provider" json:"provider,omitempty"` WithCard *EncodedCardDetails `protobuf:"bytes,4,opt,name=withCard,proto3" json:"withCard,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=createdAt,proto3" json:"createdAt,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CardToken) Descriptor ¶
func (*CardToken) GetCreatedAt ¶
func (*CardToken) GetProvider ¶
func (*CardToken) GetType ¶
func (m *CardToken) GetType() CardTokenType
func (*CardToken) GetWithCard ¶
func (m *CardToken) GetWithCard() *EncodedCardDetails
func (*CardToken) ProtoMessage ¶
func (*CardToken) ProtoMessage()
func (*CardToken) XXX_DiscardUnknown ¶
func (m *CardToken) XXX_DiscardUnknown()
func (*CardToken) XXX_Marshal ¶
func (*CardToken) XXX_Unmarshal ¶
type CardTokenByCustomer ¶
type CardTokenByCustomer struct { Customer *Customer `protobuf:"bytes,1,opt,name=customer,proto3" json:"customer,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CardTokenByCustomer) Descriptor ¶
func (*CardTokenByCustomer) Descriptor() ([]byte, []int)
func (*CardTokenByCustomer) GetCustomer ¶
func (m *CardTokenByCustomer) GetCustomer() *Customer
func (*CardTokenByCustomer) ProtoMessage ¶
func (*CardTokenByCustomer) ProtoMessage()
func (*CardTokenByCustomer) Reset ¶
func (m *CardTokenByCustomer) Reset()
func (*CardTokenByCustomer) String ¶
func (m *CardTokenByCustomer) String() string
func (*CardTokenByCustomer) XXX_DiscardUnknown ¶
func (m *CardTokenByCustomer) XXX_DiscardUnknown()
func (*CardTokenByCustomer) XXX_Marshal ¶
func (m *CardTokenByCustomer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CardTokenByCustomer) XXX_Merge ¶
func (m *CardTokenByCustomer) XXX_Merge(src proto.Message)
func (*CardTokenByCustomer) XXX_Size ¶
func (m *CardTokenByCustomer) XXX_Size() int
func (*CardTokenByCustomer) XXX_Unmarshal ¶
func (m *CardTokenByCustomer) XXX_Unmarshal(b []byte) error
type CardTokenByID ¶
type CardTokenByID struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CardTokenByID) Descriptor ¶
func (*CardTokenByID) Descriptor() ([]byte, []int)
func (*CardTokenByID) GetId ¶
func (m *CardTokenByID) GetId() string
func (*CardTokenByID) ProtoMessage ¶
func (*CardTokenByID) ProtoMessage()
func (*CardTokenByID) Reset ¶
func (m *CardTokenByID) Reset()
func (*CardTokenByID) String ¶
func (m *CardTokenByID) String() string
func (*CardTokenByID) XXX_DiscardUnknown ¶
func (m *CardTokenByID) XXX_DiscardUnknown()
func (*CardTokenByID) XXX_Marshal ¶
func (m *CardTokenByID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CardTokenByID) XXX_Merge ¶
func (m *CardTokenByID) XXX_Merge(src proto.Message)
func (*CardTokenByID) XXX_Size ¶
func (m *CardTokenByID) XXX_Size() int
func (*CardTokenByID) XXX_Unmarshal ¶
func (m *CardTokenByID) XXX_Unmarshal(b []byte) error
type CardTokenType ¶
type CardTokenType int32
const ( CardTokenType_ONEUSE CardTokenType = 0 CardTokenType_RECURRENT CardTokenType = 1 )
func (CardTokenType) EnumDescriptor ¶
func (CardTokenType) EnumDescriptor() ([]byte, []int)
func (CardTokenType) String ¶
func (x CardTokenType) String() string
type ChargeSaleAutoRequest ¶
type ChargeSaleAutoRequest struct { SaleID string `protobuf:"bytes,1,opt,name=saleID,proto3" json:"saleID,omitempty"` CardTokenID string `protobuf:"bytes,2,opt,name=cardTokenID,proto3" json:"cardTokenID,omitempty"` Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ChargeSaleAutoRequest) Descriptor ¶
func (*ChargeSaleAutoRequest) Descriptor() ([]byte, []int)
func (*ChargeSaleAutoRequest) GetCardTokenID ¶
func (m *ChargeSaleAutoRequest) GetCardTokenID() string
func (*ChargeSaleAutoRequest) GetDetails ¶
func (m *ChargeSaleAutoRequest) GetDetails() string
func (*ChargeSaleAutoRequest) GetSaleID ¶
func (m *ChargeSaleAutoRequest) GetSaleID() string
func (*ChargeSaleAutoRequest) ProtoMessage ¶
func (*ChargeSaleAutoRequest) ProtoMessage()
func (*ChargeSaleAutoRequest) Reset ¶
func (m *ChargeSaleAutoRequest) Reset()
func (*ChargeSaleAutoRequest) String ¶
func (m *ChargeSaleAutoRequest) String() string
func (*ChargeSaleAutoRequest) XXX_DiscardUnknown ¶
func (m *ChargeSaleAutoRequest) XXX_DiscardUnknown()
func (*ChargeSaleAutoRequest) XXX_Marshal ¶
func (m *ChargeSaleAutoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChargeSaleAutoRequest) XXX_Merge ¶
func (m *ChargeSaleAutoRequest) XXX_Merge(src proto.Message)
func (*ChargeSaleAutoRequest) XXX_Size ¶
func (m *ChargeSaleAutoRequest) XXX_Size() int
func (*ChargeSaleAutoRequest) XXX_Unmarshal ¶
func (m *ChargeSaleAutoRequest) XXX_Unmarshal(b []byte) error
type ChargeSaleRequest ¶
type ChargeSaleRequest struct { Provider Provider `protobuf:"varint,4,opt,name=provider,proto3,enum=Provider" json:"provider,omitempty"` SaleID string `protobuf:"bytes,1,opt,name=saleID,proto3" json:"saleID,omitempty"` CardTokenID string `protobuf:"bytes,2,opt,name=cardTokenID,proto3" json:"cardTokenID,omitempty"` Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ChargeSaleRequest) Descriptor ¶
func (*ChargeSaleRequest) Descriptor() ([]byte, []int)
func (*ChargeSaleRequest) GetCardTokenID ¶
func (m *ChargeSaleRequest) GetCardTokenID() string
func (*ChargeSaleRequest) GetDetails ¶
func (m *ChargeSaleRequest) GetDetails() string
func (*ChargeSaleRequest) GetProvider ¶
func (m *ChargeSaleRequest) GetProvider() Provider
func (*ChargeSaleRequest) GetSaleID ¶
func (m *ChargeSaleRequest) GetSaleID() string
func (*ChargeSaleRequest) ProtoMessage ¶
func (*ChargeSaleRequest) ProtoMessage()
func (*ChargeSaleRequest) Reset ¶
func (m *ChargeSaleRequest) Reset()
func (*ChargeSaleRequest) String ¶
func (m *ChargeSaleRequest) String() string
func (*ChargeSaleRequest) XXX_DiscardUnknown ¶
func (m *ChargeSaleRequest) XXX_DiscardUnknown()
func (*ChargeSaleRequest) XXX_Marshal ¶
func (m *ChargeSaleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChargeSaleRequest) XXX_Merge ¶
func (m *ChargeSaleRequest) XXX_Merge(src proto.Message)
func (*ChargeSaleRequest) XXX_Size ¶
func (m *ChargeSaleRequest) XXX_Size() int
func (*ChargeSaleRequest) XXX_Unmarshal ¶
func (m *ChargeSaleRequest) XXX_Unmarshal(b []byte) error
type ChargeToken ¶
type ChargeToken struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` Provider Provider `protobuf:"varint,6,opt,name=provider,proto3,enum=Provider" json:"provider,omitempty"` WithCardToken *CardToken `protobuf:"bytes,4,opt,name=withCardToken,proto3" json:"withCardToken,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=createdAt,proto3" json:"createdAt,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ChargeToken) Descriptor ¶
func (*ChargeToken) Descriptor() ([]byte, []int)
func (*ChargeToken) GetCreatedAt ¶
func (m *ChargeToken) GetCreatedAt() *timestamp.Timestamp
func (*ChargeToken) GetId ¶
func (m *ChargeToken) GetId() string
func (*ChargeToken) GetMessage ¶
func (m *ChargeToken) GetMessage() string
func (*ChargeToken) GetProvider ¶
func (m *ChargeToken) GetProvider() Provider
func (*ChargeToken) GetValue ¶
func (m *ChargeToken) GetValue() string
func (*ChargeToken) GetWithCardToken ¶
func (m *ChargeToken) GetWithCardToken() *CardToken
func (*ChargeToken) ProtoMessage ¶
func (*ChargeToken) ProtoMessage()
func (*ChargeToken) Reset ¶
func (m *ChargeToken) Reset()
func (*ChargeToken) String ¶
func (m *ChargeToken) String() string
func (*ChargeToken) XXX_DiscardUnknown ¶
func (m *ChargeToken) XXX_DiscardUnknown()
func (*ChargeToken) XXX_Marshal ¶
func (m *ChargeToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChargeToken) XXX_Merge ¶
func (m *ChargeToken) XXX_Merge(src proto.Message)
func (*ChargeToken) XXX_Size ¶
func (m *ChargeToken) XXX_Size() int
func (*ChargeToken) XXX_Unmarshal ¶
func (m *ChargeToken) XXX_Unmarshal(b []byte) error
type ChargeWithNativeToken ¶
type ChargeWithNativeToken struct { Provider Provider `protobuf:"varint,4,opt,name=provider,proto3,enum=Provider" json:"provider,omitempty"` SaleID string `protobuf:"bytes,1,opt,name=saleID,proto3" json:"saleID,omitempty"` NativeToken string `protobuf:"bytes,2,opt,name=nativeToken,proto3" json:"nativeToken,omitempty"` Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ChargeWithNativeToken) Descriptor ¶
func (*ChargeWithNativeToken) Descriptor() ([]byte, []int)
func (*ChargeWithNativeToken) GetDetails ¶
func (m *ChargeWithNativeToken) GetDetails() string
func (*ChargeWithNativeToken) GetNativeToken ¶
func (m *ChargeWithNativeToken) GetNativeToken() string
func (*ChargeWithNativeToken) GetProvider ¶
func (m *ChargeWithNativeToken) GetProvider() Provider
func (*ChargeWithNativeToken) GetSaleID ¶
func (m *ChargeWithNativeToken) GetSaleID() string
func (*ChargeWithNativeToken) ProtoMessage ¶
func (*ChargeWithNativeToken) ProtoMessage()
func (*ChargeWithNativeToken) Reset ¶
func (m *ChargeWithNativeToken) Reset()
func (*ChargeWithNativeToken) String ¶
func (m *ChargeWithNativeToken) String() string
func (*ChargeWithNativeToken) XXX_DiscardUnknown ¶
func (m *ChargeWithNativeToken) XXX_DiscardUnknown()
func (*ChargeWithNativeToken) XXX_Marshal ¶
func (m *ChargeWithNativeToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChargeWithNativeToken) XXX_Merge ¶
func (m *ChargeWithNativeToken) XXX_Merge(src proto.Message)
func (*ChargeWithNativeToken) XXX_Size ¶
func (m *ChargeWithNativeToken) XXX_Size() int
func (*ChargeWithNativeToken) XXX_Unmarshal ¶
func (m *ChargeWithNativeToken) XXX_Unmarshal(b []byte) error
type Cost ¶
type Cost struct { Amount float64 `protobuf:"fixed64,1,opt,name=amount,proto3" json:"amount,omitempty"` Currency string `protobuf:"bytes,2,opt,name=currency,proto3" json:"currency,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Cost) Descriptor ¶
func (*Cost) GetCurrency ¶
func (*Cost) ProtoMessage ¶
func (*Cost) ProtoMessage()
func (*Cost) XXX_DiscardUnknown ¶
func (m *Cost) XXX_DiscardUnknown()
func (*Cost) XXX_Unmarshal ¶
type Customer ¶
type Customer struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Person string `protobuf:"bytes,6,opt,name=person,proto3" json:"person,omitempty"` Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"` Location *Location `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Customer) Descriptor ¶
func (*Customer) GetLocation ¶
func (*Customer) ProtoMessage ¶
func (*Customer) ProtoMessage()
func (*Customer) XXX_DiscardUnknown ¶
func (m *Customer) XXX_DiscardUnknown()
func (*Customer) XXX_Marshal ¶
func (*Customer) XXX_Unmarshal ¶
type DeliverChannelResponse ¶
type DeliverChannelResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeliverChannelResponse) Descriptor ¶
func (*DeliverChannelResponse) Descriptor() ([]byte, []int)
func (*DeliverChannelResponse) GetCode ¶
func (m *DeliverChannelResponse) GetCode() string
func (*DeliverChannelResponse) GetMessage ¶
func (m *DeliverChannelResponse) GetMessage() string
func (*DeliverChannelResponse) ProtoMessage ¶
func (*DeliverChannelResponse) ProtoMessage()
func (*DeliverChannelResponse) Reset ¶
func (m *DeliverChannelResponse) Reset()
func (*DeliverChannelResponse) String ¶
func (m *DeliverChannelResponse) String() string
func (*DeliverChannelResponse) XXX_DiscardUnknown ¶
func (m *DeliverChannelResponse) XXX_DiscardUnknown()
func (*DeliverChannelResponse) XXX_Marshal ¶
func (m *DeliverChannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeliverChannelResponse) XXX_Merge ¶
func (m *DeliverChannelResponse) XXX_Merge(src proto.Message)
func (*DeliverChannelResponse) XXX_Size ¶
func (m *DeliverChannelResponse) XXX_Size() int
func (*DeliverChannelResponse) XXX_Unmarshal ¶
func (m *DeliverChannelResponse) XXX_Unmarshal(b []byte) error
type DeliverSaleRequest ¶
type DeliverSaleRequest struct { SaleID string `protobuf:"bytes,1,opt,name=saleID,proto3" json:"saleID,omitempty"` ChannelName string `protobuf:"bytes,2,opt,name=channelName,proto3" json:"channelName,omitempty"` Metadata map[string]string `` /* 157-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeliverSaleRequest) Descriptor ¶
func (*DeliverSaleRequest) Descriptor() ([]byte, []int)
func (*DeliverSaleRequest) GetChannelName ¶
func (m *DeliverSaleRequest) GetChannelName() string
func (*DeliverSaleRequest) GetMetadata ¶
func (m *DeliverSaleRequest) GetMetadata() map[string]string
func (*DeliverSaleRequest) GetSaleID ¶
func (m *DeliverSaleRequest) GetSaleID() string
func (*DeliverSaleRequest) ProtoMessage ¶
func (*DeliverSaleRequest) ProtoMessage()
func (*DeliverSaleRequest) Reset ¶
func (m *DeliverSaleRequest) Reset()
func (*DeliverSaleRequest) String ¶
func (m *DeliverSaleRequest) String() string
func (*DeliverSaleRequest) XXX_DiscardUnknown ¶
func (m *DeliverSaleRequest) XXX_DiscardUnknown()
func (*DeliverSaleRequest) XXX_Marshal ¶
func (m *DeliverSaleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeliverSaleRequest) XXX_Merge ¶
func (m *DeliverSaleRequest) XXX_Merge(src proto.Message)
func (*DeliverSaleRequest) XXX_Size ¶
func (m *DeliverSaleRequest) XXX_Size() int
func (*DeliverSaleRequest) XXX_Unmarshal ¶
func (m *DeliverSaleRequest) XXX_Unmarshal(b []byte) error
type Discount ¶
type Discount struct { Type DiscountType `protobuf:"varint,1,opt,name=type,proto3,enum=DiscountType" json:"type,omitempty"` Percent float64 `protobuf:"fixed64,2,opt,name=percent,proto3" json:"percent,omitempty"` Amount float64 `protobuf:"fixed64,3,opt,name=amount,proto3" json:"amount,omitempty"` Currency string `protobuf:"bytes,4,opt,name=currency,proto3" json:"currency,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Discount) Descriptor ¶
func (*Discount) GetCurrency ¶
func (*Discount) GetPercent ¶
func (*Discount) GetType ¶
func (m *Discount) GetType() DiscountType
func (*Discount) ProtoMessage ¶
func (*Discount) ProtoMessage()
func (*Discount) XXX_DiscardUnknown ¶
func (m *Discount) XXX_DiscardUnknown()
func (*Discount) XXX_Marshal ¶
func (*Discount) XXX_Unmarshal ¶
type DiscountCode ¶
type DiscountCode struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Start *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"` End *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"` MaxUses int32 `protobuf:"varint,4,opt,name=maxUses,proto3" json:"maxUses,omitempty"` Uses []*DiscountUseRecord `protobuf:"bytes,5,rep,name=uses,proto3" json:"uses,omitempty"` Code string `protobuf:"bytes,6,opt,name=code,proto3" json:"code,omitempty"` Value *Discount `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DiscountCode) Descriptor ¶
func (*DiscountCode) Descriptor() ([]byte, []int)
func (*DiscountCode) GetCode ¶
func (m *DiscountCode) GetCode() string
func (*DiscountCode) GetEnd ¶
func (m *DiscountCode) GetEnd() *timestamp.Timestamp
func (*DiscountCode) GetId ¶
func (m *DiscountCode) GetId() string
func (*DiscountCode) GetMaxUses ¶
func (m *DiscountCode) GetMaxUses() int32
func (*DiscountCode) GetStart ¶
func (m *DiscountCode) GetStart() *timestamp.Timestamp
func (*DiscountCode) GetUses ¶
func (m *DiscountCode) GetUses() []*DiscountUseRecord
func (*DiscountCode) GetValue ¶
func (m *DiscountCode) GetValue() *Discount
func (*DiscountCode) ProtoMessage ¶
func (*DiscountCode) ProtoMessage()
func (*DiscountCode) Reset ¶
func (m *DiscountCode) Reset()
func (*DiscountCode) String ¶
func (m *DiscountCode) String() string
func (*DiscountCode) XXX_DiscardUnknown ¶
func (m *DiscountCode) XXX_DiscardUnknown()
func (*DiscountCode) XXX_Marshal ¶
func (m *DiscountCode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DiscountCode) XXX_Merge ¶
func (m *DiscountCode) XXX_Merge(src proto.Message)
func (*DiscountCode) XXX_Size ¶
func (m *DiscountCode) XXX_Size() int
func (*DiscountCode) XXX_Unmarshal ¶
func (m *DiscountCode) XXX_Unmarshal(b []byte) error
type DiscountCodeExist ¶
type DiscountCodeExist struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DiscountCodeExist) Descriptor ¶
func (*DiscountCodeExist) Descriptor() ([]byte, []int)
func (*DiscountCodeExist) GetOk ¶
func (m *DiscountCodeExist) GetOk() bool
func (*DiscountCodeExist) ProtoMessage ¶
func (*DiscountCodeExist) ProtoMessage()
func (*DiscountCodeExist) Reset ¶
func (m *DiscountCodeExist) Reset()
func (*DiscountCodeExist) String ¶
func (m *DiscountCodeExist) String() string
func (*DiscountCodeExist) XXX_DiscardUnknown ¶
func (m *DiscountCodeExist) XXX_DiscardUnknown()
func (*DiscountCodeExist) XXX_Marshal ¶
func (m *DiscountCodeExist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DiscountCodeExist) XXX_Merge ¶
func (m *DiscountCodeExist) XXX_Merge(src proto.Message)
func (*DiscountCodeExist) XXX_Size ¶
func (m *DiscountCodeExist) XXX_Size() int
func (*DiscountCodeExist) XXX_Unmarshal ¶
func (m *DiscountCodeExist) XXX_Unmarshal(b []byte) error
type DiscountCodeID ¶
type DiscountCodeID struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DiscountCodeID) Descriptor ¶
func (*DiscountCodeID) Descriptor() ([]byte, []int)
func (*DiscountCodeID) GetId ¶
func (m *DiscountCodeID) GetId() string
func (*DiscountCodeID) ProtoMessage ¶
func (*DiscountCodeID) ProtoMessage()
func (*DiscountCodeID) Reset ¶
func (m *DiscountCodeID) Reset()
func (*DiscountCodeID) String ¶
func (m *DiscountCodeID) String() string
func (*DiscountCodeID) XXX_DiscardUnknown ¶
func (m *DiscountCodeID) XXX_DiscardUnknown()
func (*DiscountCodeID) XXX_Marshal ¶
func (m *DiscountCodeID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DiscountCodeID) XXX_Merge ¶
func (m *DiscountCodeID) XXX_Merge(src proto.Message)
func (*DiscountCodeID) XXX_Size ¶
func (m *DiscountCodeID) XXX_Size() int
func (*DiscountCodeID) XXX_Unmarshal ¶
func (m *DiscountCodeID) XXX_Unmarshal(b []byte) error
type DiscountCodeRequest ¶
type DiscountCodeRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DiscountCodeRequest) Descriptor ¶
func (*DiscountCodeRequest) Descriptor() ([]byte, []int)
func (*DiscountCodeRequest) ProtoMessage ¶
func (*DiscountCodeRequest) ProtoMessage()
func (*DiscountCodeRequest) Reset ¶
func (m *DiscountCodeRequest) Reset()
func (*DiscountCodeRequest) String ¶
func (m *DiscountCodeRequest) String() string
func (*DiscountCodeRequest) XXX_DiscardUnknown ¶
func (m *DiscountCodeRequest) XXX_DiscardUnknown()
func (*DiscountCodeRequest) XXX_Marshal ¶
func (m *DiscountCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DiscountCodeRequest) XXX_Merge ¶
func (m *DiscountCodeRequest) XXX_Merge(src proto.Message)
func (*DiscountCodeRequest) XXX_Size ¶
func (m *DiscountCodeRequest) XXX_Size() int
func (*DiscountCodeRequest) XXX_Unmarshal ¶
func (m *DiscountCodeRequest) XXX_Unmarshal(b []byte) error
type DiscountCodeValue ¶
type DiscountCodeValue struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` CustomerID string `protobuf:"bytes,2,opt,name=customerID,proto3" json:"customerID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DiscountCodeValue) Descriptor ¶
func (*DiscountCodeValue) Descriptor() ([]byte, []int)
func (*DiscountCodeValue) GetCustomerID ¶
func (m *DiscountCodeValue) GetCustomerID() string
func (*DiscountCodeValue) GetValue ¶
func (m *DiscountCodeValue) GetValue() string
func (*DiscountCodeValue) ProtoMessage ¶
func (*DiscountCodeValue) ProtoMessage()
func (*DiscountCodeValue) Reset ¶
func (m *DiscountCodeValue) Reset()
func (*DiscountCodeValue) String ¶
func (m *DiscountCodeValue) String() string
func (*DiscountCodeValue) XXX_DiscardUnknown ¶
func (m *DiscountCodeValue) XXX_DiscardUnknown()
func (*DiscountCodeValue) XXX_Marshal ¶
func (m *DiscountCodeValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DiscountCodeValue) XXX_Merge ¶
func (m *DiscountCodeValue) XXX_Merge(src proto.Message)
func (*DiscountCodeValue) XXX_Size ¶
func (m *DiscountCodeValue) XXX_Size() int
func (*DiscountCodeValue) XXX_Unmarshal ¶
func (m *DiscountCodeValue) XXX_Unmarshal(b []byte) error
type DiscountCodes ¶
type DiscountCodes struct { Discounts []*DiscountCode `protobuf:"bytes,1,rep,name=discounts,proto3" json:"discounts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DiscountCodes) Descriptor ¶
func (*DiscountCodes) Descriptor() ([]byte, []int)
func (*DiscountCodes) GetDiscounts ¶
func (m *DiscountCodes) GetDiscounts() []*DiscountCode
func (*DiscountCodes) ProtoMessage ¶
func (*DiscountCodes) ProtoMessage()
func (*DiscountCodes) Reset ¶
func (m *DiscountCodes) Reset()
func (*DiscountCodes) String ¶
func (m *DiscountCodes) String() string
func (*DiscountCodes) XXX_DiscardUnknown ¶
func (m *DiscountCodes) XXX_DiscardUnknown()
func (*DiscountCodes) XXX_Marshal ¶
func (m *DiscountCodes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DiscountCodes) XXX_Merge ¶
func (m *DiscountCodes) XXX_Merge(src proto.Message)
func (*DiscountCodes) XXX_Size ¶
func (m *DiscountCodes) XXX_Size() int
func (*DiscountCodes) XXX_Unmarshal ¶
func (m *DiscountCodes) XXX_Unmarshal(b []byte) error
type DiscountType ¶
type DiscountType int32
const ( DiscountType_STATIC DiscountType = 0 DiscountType_PERCENT DiscountType = 1 )
func (DiscountType) EnumDescriptor ¶
func (DiscountType) EnumDescriptor() ([]byte, []int)
func (DiscountType) String ¶
func (x DiscountType) String() string
type DiscountUseRecord ¶
type DiscountUseRecord struct { At *timestamp.Timestamp `protobuf:"bytes,1,opt,name=at,proto3" json:"at,omitempty"` By *Customer `protobuf:"bytes,2,opt,name=by,proto3" json:"by,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DiscountUseRecord) Descriptor ¶
func (*DiscountUseRecord) Descriptor() ([]byte, []int)
func (*DiscountUseRecord) GetAt ¶
func (m *DiscountUseRecord) GetAt() *timestamp.Timestamp
func (*DiscountUseRecord) GetBy ¶
func (m *DiscountUseRecord) GetBy() *Customer
func (*DiscountUseRecord) ProtoMessage ¶
func (*DiscountUseRecord) ProtoMessage()
func (*DiscountUseRecord) Reset ¶
func (m *DiscountUseRecord) Reset()
func (*DiscountUseRecord) String ¶
func (m *DiscountUseRecord) String() string
func (*DiscountUseRecord) XXX_DiscardUnknown ¶
func (m *DiscountUseRecord) XXX_DiscardUnknown()
func (*DiscountUseRecord) XXX_Marshal ¶
func (m *DiscountUseRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DiscountUseRecord) XXX_Merge ¶
func (m *DiscountUseRecord) XXX_Merge(src proto.Message)
func (*DiscountUseRecord) XXX_Size ¶
func (m *DiscountUseRecord) XXX_Size() int
func (*DiscountUseRecord) XXX_Unmarshal ¶
func (m *DiscountUseRecord) XXX_Unmarshal(b []byte) error
type EncodedCardDetails ¶
type EncodedCardDetails struct { Number string `protobuf:"bytes,1,opt,name=number,proto3" json:"number,omitempty"` ExpirationYear int32 `protobuf:"varint,2,opt,name=expirationYear,proto3" json:"expirationYear,omitempty"` Customer *Customer `protobuf:"bytes,3,opt,name=customer,proto3" json:"customer,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EncodedCardDetails) Descriptor ¶
func (*EncodedCardDetails) Descriptor() ([]byte, []int)
func (*EncodedCardDetails) GetCustomer ¶
func (m *EncodedCardDetails) GetCustomer() *Customer
func (*EncodedCardDetails) GetExpirationYear ¶
func (m *EncodedCardDetails) GetExpirationYear() int32
func (*EncodedCardDetails) GetNumber ¶
func (m *EncodedCardDetails) GetNumber() string
func (*EncodedCardDetails) ProtoMessage ¶
func (*EncodedCardDetails) ProtoMessage()
func (*EncodedCardDetails) Reset ¶
func (m *EncodedCardDetails) Reset()
func (*EncodedCardDetails) String ¶
func (m *EncodedCardDetails) String() string
func (*EncodedCardDetails) XXX_DiscardUnknown ¶
func (m *EncodedCardDetails) XXX_DiscardUnknown()
func (*EncodedCardDetails) XXX_Marshal ¶
func (m *EncodedCardDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EncodedCardDetails) XXX_Merge ¶
func (m *EncodedCardDetails) XXX_Merge(src proto.Message)
func (*EncodedCardDetails) XXX_Size ¶
func (m *EncodedCardDetails) XXX_Size() int
func (*EncodedCardDetails) XXX_Unmarshal ¶
func (m *EncodedCardDetails) XXX_Unmarshal(b []byte) error
type FastSale ¶
type FastSale struct { CustomerEmail string `protobuf:"bytes,1,opt,name=customerEmail,proto3" json:"customerEmail,omitempty"` Products []*Product `protobuf:"bytes,2,rep,name=products,proto3" json:"products,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FastSale) Descriptor ¶
func (*FastSale) GetCustomerEmail ¶
func (*FastSale) GetProducts ¶
func (*FastSale) ProtoMessage ¶
func (*FastSale) ProtoMessage()
func (*FastSale) XXX_DiscardUnknown ¶
func (m *FastSale) XXX_DiscardUnknown()
func (*FastSale) XXX_Marshal ¶
func (*FastSale) XXX_Unmarshal ¶
type Location ¶
type Location struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` City string `protobuf:"bytes,2,opt,name=city,proto3" json:"city,omitempty"` State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` Zip string `protobuf:"bytes,4,opt,name=zip,proto3" json:"zip,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Location) Descriptor ¶
func (*Location) GetAddress ¶
func (*Location) ProtoMessage ¶
func (*Location) ProtoMessage()
func (*Location) XXX_DiscardUnknown ¶
func (m *Location) XXX_DiscardUnknown()
func (*Location) XXX_Marshal ¶
func (*Location) XXX_Unmarshal ¶
type NewCardTokenAutoRequest ¶
type NewCardTokenAutoRequest struct { Card *Card `protobuf:"bytes,1,opt,name=card,proto3" json:"card,omitempty"` Customer *Customer `protobuf:"bytes,2,opt,name=customer,proto3" json:"customer,omitempty"` Type CardTokenType `protobuf:"varint,3,opt,name=type,proto3,enum=CardTokenType" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NewCardTokenAutoRequest) Descriptor ¶
func (*NewCardTokenAutoRequest) Descriptor() ([]byte, []int)
func (*NewCardTokenAutoRequest) GetCard ¶
func (m *NewCardTokenAutoRequest) GetCard() *Card
func (*NewCardTokenAutoRequest) GetCustomer ¶
func (m *NewCardTokenAutoRequest) GetCustomer() *Customer
func (*NewCardTokenAutoRequest) GetType ¶
func (m *NewCardTokenAutoRequest) GetType() CardTokenType
func (*NewCardTokenAutoRequest) ProtoMessage ¶
func (*NewCardTokenAutoRequest) ProtoMessage()
func (*NewCardTokenAutoRequest) Reset ¶
func (m *NewCardTokenAutoRequest) Reset()
func (*NewCardTokenAutoRequest) String ¶
func (m *NewCardTokenAutoRequest) String() string
func (*NewCardTokenAutoRequest) XXX_DiscardUnknown ¶
func (m *NewCardTokenAutoRequest) XXX_DiscardUnknown()
func (*NewCardTokenAutoRequest) XXX_Marshal ¶
func (m *NewCardTokenAutoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NewCardTokenAutoRequest) XXX_Merge ¶
func (m *NewCardTokenAutoRequest) XXX_Merge(src proto.Message)
func (*NewCardTokenAutoRequest) XXX_Size ¶
func (m *NewCardTokenAutoRequest) XXX_Size() int
func (*NewCardTokenAutoRequest) XXX_Unmarshal ¶
func (m *NewCardTokenAutoRequest) XXX_Unmarshal(b []byte) error
type NewCardTokenNativeRequest ¶
type NewCardTokenNativeRequest struct { Provider Provider `protobuf:"varint,4,opt,name=provider,proto3,enum=Provider" json:"provider,omitempty"` Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Customer *Customer `protobuf:"bytes,2,opt,name=customer,proto3" json:"customer,omitempty"` Type CardTokenType `protobuf:"varint,3,opt,name=type,proto3,enum=CardTokenType" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NewCardTokenNativeRequest) Descriptor ¶
func (*NewCardTokenNativeRequest) Descriptor() ([]byte, []int)
func (*NewCardTokenNativeRequest) GetCustomer ¶
func (m *NewCardTokenNativeRequest) GetCustomer() *Customer
func (*NewCardTokenNativeRequest) GetProvider ¶
func (m *NewCardTokenNativeRequest) GetProvider() Provider
func (*NewCardTokenNativeRequest) GetToken ¶
func (m *NewCardTokenNativeRequest) GetToken() string
func (*NewCardTokenNativeRequest) GetType ¶
func (m *NewCardTokenNativeRequest) GetType() CardTokenType
func (*NewCardTokenNativeRequest) ProtoMessage ¶
func (*NewCardTokenNativeRequest) ProtoMessage()
func (*NewCardTokenNativeRequest) Reset ¶
func (m *NewCardTokenNativeRequest) Reset()
func (*NewCardTokenNativeRequest) String ¶
func (m *NewCardTokenNativeRequest) String() string
func (*NewCardTokenNativeRequest) XXX_DiscardUnknown ¶
func (m *NewCardTokenNativeRequest) XXX_DiscardUnknown()
func (*NewCardTokenNativeRequest) XXX_Marshal ¶
func (m *NewCardTokenNativeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NewCardTokenNativeRequest) XXX_Merge ¶
func (m *NewCardTokenNativeRequest) XXX_Merge(src proto.Message)
func (*NewCardTokenNativeRequest) XXX_Size ¶
func (m *NewCardTokenNativeRequest) XXX_Size() int
func (*NewCardTokenNativeRequest) XXX_Unmarshal ¶
func (m *NewCardTokenNativeRequest) XXX_Unmarshal(b []byte) error
type NewCardTokenRequest ¶
type NewCardTokenRequest struct { Provider Provider `protobuf:"varint,4,opt,name=provider,proto3,enum=Provider" json:"provider,omitempty"` Card *Card `protobuf:"bytes,1,opt,name=card,proto3" json:"card,omitempty"` Customer *Customer `protobuf:"bytes,2,opt,name=customer,proto3" json:"customer,omitempty"` Type CardTokenType `protobuf:"varint,3,opt,name=type,proto3,enum=CardTokenType" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NewCardTokenRequest) Descriptor ¶
func (*NewCardTokenRequest) Descriptor() ([]byte, []int)
func (*NewCardTokenRequest) GetCard ¶
func (m *NewCardTokenRequest) GetCard() *Card
func (*NewCardTokenRequest) GetCustomer ¶
func (m *NewCardTokenRequest) GetCustomer() *Customer
func (*NewCardTokenRequest) GetProvider ¶
func (m *NewCardTokenRequest) GetProvider() Provider
func (*NewCardTokenRequest) GetType ¶
func (m *NewCardTokenRequest) GetType() CardTokenType
func (*NewCardTokenRequest) ProtoMessage ¶
func (*NewCardTokenRequest) ProtoMessage()
func (*NewCardTokenRequest) Reset ¶
func (m *NewCardTokenRequest) Reset()
func (*NewCardTokenRequest) String ¶
func (m *NewCardTokenRequest) String() string
func (*NewCardTokenRequest) XXX_DiscardUnknown ¶
func (m *NewCardTokenRequest) XXX_DiscardUnknown()
func (*NewCardTokenRequest) XXX_Marshal ¶
func (m *NewCardTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NewCardTokenRequest) XXX_Merge ¶
func (m *NewCardTokenRequest) XXX_Merge(src proto.Message)
func (*NewCardTokenRequest) XXX_Size ¶
func (m *NewCardTokenRequest) XXX_Size() int
func (*NewCardTokenRequest) XXX_Unmarshal ¶
func (m *NewCardTokenRequest) XXX_Unmarshal(b []byte) error
type NewSaleRequest ¶
type NewSaleRequest struct { Customer *Customer `protobuf:"bytes,1,opt,name=customer,proto3" json:"customer,omitempty"` Products []*Product `protobuf:"bytes,2,rep,name=products,proto3" json:"products,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NewSaleRequest) Descriptor ¶
func (*NewSaleRequest) Descriptor() ([]byte, []int)
func (*NewSaleRequest) GetCustomer ¶
func (m *NewSaleRequest) GetCustomer() *Customer
func (*NewSaleRequest) GetProducts ¶
func (m *NewSaleRequest) GetProducts() []*Product
func (*NewSaleRequest) ProtoMessage ¶
func (*NewSaleRequest) ProtoMessage()
func (*NewSaleRequest) Reset ¶
func (m *NewSaleRequest) Reset()
func (*NewSaleRequest) String ¶
func (m *NewSaleRequest) String() string
func (*NewSaleRequest) XXX_DiscardUnknown ¶
func (m *NewSaleRequest) XXX_DiscardUnknown()
func (*NewSaleRequest) XXX_Marshal ¶
func (m *NewSaleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NewSaleRequest) XXX_Merge ¶
func (m *NewSaleRequest) XXX_Merge(src proto.Message)
func (*NewSaleRequest) XXX_Size ¶
func (m *NewSaleRequest) XXX_Size() int
func (*NewSaleRequest) XXX_Unmarshal ¶
func (m *NewSaleRequest) XXX_Unmarshal(b []byte) error
type PlutusClient ¶
type PlutusClient interface { NewCardToken(ctx context.Context, in *NewCardTokenRequest, opts ...grpc.CallOption) (*CardToken, error) NewCardTokenAuto(ctx context.Context, in *NewCardTokenAutoRequest, opts ...grpc.CallOption) (*CardToken, error) NewCardTokenFromNative(ctx context.Context, in *NewCardTokenNativeRequest, opts ...grpc.CallOption) (*CardToken, error) GetCardTokenOfCustomerByID(ctx context.Context, in *CardTokenByID, opts ...grpc.CallOption) (*CardToken, error) DeleteCardToken(ctx context.Context, in *CardTokenByID, opts ...grpc.CallOption) (*CardToken, error) NewFastSale(ctx context.Context, in *FastSale, opts ...grpc.CallOption) (*Sale, error) NewSale(ctx context.Context, in *NewSaleRequest, opts ...grpc.CallOption) (*Sale, error) GetSale(ctx context.Context, in *SaleIDRequest, opts ...grpc.CallOption) (*Sale, error) GetSales(ctx context.Context, in *SalesFilterRequest, opts ...grpc.CallOption) (*Sales, error) UpdateSale(ctx context.Context, in *SaleUpdateRequest, opts ...grpc.CallOption) (*Sale, error) DeliverSale(ctx context.Context, in *DeliverSaleRequest, opts ...grpc.CallOption) (*DeliverChannelResponse, error) ChargeSale(ctx context.Context, in *ChargeSaleRequest, opts ...grpc.CallOption) (*ChargeToken, error) ChargeSaleAuto(ctx context.Context, in *ChargeSaleAutoRequest, opts ...grpc.CallOption) (*ChargeToken, error) ChargeSaleWithNativeToken(ctx context.Context, in *ChargeWithNativeToken, opts ...grpc.CallOption) (*ChargeToken, error) DoneSale(ctx context.Context, in *SaleIDRequest, opts ...grpc.CallOption) (*Sale, error) CreateDiscountCode(ctx context.Context, in *DiscountCodeRequest, opts ...grpc.CallOption) (*DiscountCode, error) GetDiscountCode(ctx context.Context, in *DiscountCodeID, opts ...grpc.CallOption) (*DiscountCode, error) ValidateDiscountCode(ctx context.Context, in *DiscountCodeValue, opts ...grpc.CallOption) (*DiscountCodeExist, error) GetActiveDiscountCodes(ctx context.Context, in *ActiveDiscountsRequest, opts ...grpc.CallOption) (*DiscountCodes, error) DeleteDiscountCode(ctx context.Context, in *DiscountCodeID, opts ...grpc.CallOption) (*DiscountCodes, error) }
PlutusClient is the client API for Plutus service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPlutusClient ¶
func NewPlutusClient(cc *grpc.ClientConn) PlutusClient
type PlutusServer ¶
type PlutusServer interface { NewCardToken(context.Context, *NewCardTokenRequest) (*CardToken, error) NewCardTokenAuto(context.Context, *NewCardTokenAutoRequest) (*CardToken, error) NewCardTokenFromNative(context.Context, *NewCardTokenNativeRequest) (*CardToken, error) GetCardTokenOfCustomerByID(context.Context, *CardTokenByID) (*CardToken, error) DeleteCardToken(context.Context, *CardTokenByID) (*CardToken, error) NewFastSale(context.Context, *FastSale) (*Sale, error) NewSale(context.Context, *NewSaleRequest) (*Sale, error) GetSale(context.Context, *SaleIDRequest) (*Sale, error) GetSales(context.Context, *SalesFilterRequest) (*Sales, error) UpdateSale(context.Context, *SaleUpdateRequest) (*Sale, error) DeliverSale(context.Context, *DeliverSaleRequest) (*DeliverChannelResponse, error) ChargeSale(context.Context, *ChargeSaleRequest) (*ChargeToken, error) ChargeSaleAuto(context.Context, *ChargeSaleAutoRequest) (*ChargeToken, error) ChargeSaleWithNativeToken(context.Context, *ChargeWithNativeToken) (*ChargeToken, error) DoneSale(context.Context, *SaleIDRequest) (*Sale, error) CreateDiscountCode(context.Context, *DiscountCodeRequest) (*DiscountCode, error) GetDiscountCode(context.Context, *DiscountCodeID) (*DiscountCode, error) ValidateDiscountCode(context.Context, *DiscountCodeValue) (*DiscountCodeExist, error) GetActiveDiscountCodes(context.Context, *ActiveDiscountsRequest) (*DiscountCodes, error) DeleteDiscountCode(context.Context, *DiscountCodeID) (*DiscountCodes, error) }
PlutusServer is the server API for Plutus service.
type Product ¶
type Product struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Details string `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"` Cost *Cost `protobuf:"bytes,3,opt,name=cost,proto3" json:"cost,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Product) Descriptor ¶
func (*Product) GetDetails ¶
func (*Product) ProtoMessage ¶
func (*Product) ProtoMessage()
func (*Product) XXX_DiscardUnknown ¶
func (m *Product) XXX_DiscardUnknown()
func (*Product) XXX_Marshal ¶
func (*Product) XXX_Unmarshal ¶
type Sale ¶
type Sale struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` State SaleState `protobuf:"varint,4,opt,name=state,proto3,enum=SaleState" json:"state,omitempty"` Customer *Customer `protobuf:"bytes,5,opt,name=customer,proto3" json:"customer,omitempty"` Products []*Product `protobuf:"bytes,6,rep,name=products,proto3" json:"products,omitempty"` DiscountCodes []*DiscountCode `protobuf:"bytes,7,rep,name=discountCodes,proto3" json:"discountCodes,omitempty"` CardToken *CardToken `protobuf:"bytes,8,opt,name=cardToken,proto3" json:"cardToken,omitempty"` Charge *ChargeToken `protobuf:"bytes,9,opt,name=charge,proto3" json:"charge,omitempty"` CurrencyToPay string `protobuf:"bytes,10,opt,name=currencyToPay,proto3" json:"currencyToPay,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Sale) Descriptor ¶
func (*Sale) GetCardToken ¶
func (*Sale) GetCharge ¶
func (m *Sale) GetCharge() *ChargeToken
func (*Sale) GetCreatedAt ¶
func (*Sale) GetCurrencyToPay ¶
func (*Sale) GetCustomer ¶
func (*Sale) GetDiscountCodes ¶
func (m *Sale) GetDiscountCodes() []*DiscountCode
func (*Sale) GetProducts ¶
func (*Sale) GetUpdatedAt ¶
func (*Sale) ProtoMessage ¶
func (*Sale) ProtoMessage()
func (*Sale) XXX_DiscardUnknown ¶
func (m *Sale) XXX_DiscardUnknown()
func (*Sale) XXX_Unmarshal ¶
type SaleIDRequest ¶
type SaleIDRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SaleIDRequest) Descriptor ¶
func (*SaleIDRequest) Descriptor() ([]byte, []int)
func (*SaleIDRequest) GetId ¶
func (m *SaleIDRequest) GetId() string
func (*SaleIDRequest) ProtoMessage ¶
func (*SaleIDRequest) ProtoMessage()
func (*SaleIDRequest) Reset ¶
func (m *SaleIDRequest) Reset()
func (*SaleIDRequest) String ¶
func (m *SaleIDRequest) String() string
func (*SaleIDRequest) XXX_DiscardUnknown ¶
func (m *SaleIDRequest) XXX_DiscardUnknown()
func (*SaleIDRequest) XXX_Marshal ¶
func (m *SaleIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SaleIDRequest) XXX_Merge ¶
func (m *SaleIDRequest) XXX_Merge(src proto.Message)
func (*SaleIDRequest) XXX_Size ¶
func (m *SaleIDRequest) XXX_Size() int
func (*SaleIDRequest) XXX_Unmarshal ¶
func (m *SaleIDRequest) XXX_Unmarshal(b []byte) error
type SaleUpdateRequest ¶
type SaleUpdateRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UpdateData *Sale `protobuf:"bytes,2,opt,name=updateData,proto3" json:"updateData,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SaleUpdateRequest) Descriptor ¶
func (*SaleUpdateRequest) Descriptor() ([]byte, []int)
func (*SaleUpdateRequest) GetId ¶
func (m *SaleUpdateRequest) GetId() string
func (*SaleUpdateRequest) GetUpdateData ¶
func (m *SaleUpdateRequest) GetUpdateData() *Sale
func (*SaleUpdateRequest) ProtoMessage ¶
func (*SaleUpdateRequest) ProtoMessage()
func (*SaleUpdateRequest) Reset ¶
func (m *SaleUpdateRequest) Reset()
func (*SaleUpdateRequest) String ¶
func (m *SaleUpdateRequest) String() string
func (*SaleUpdateRequest) XXX_DiscardUnknown ¶
func (m *SaleUpdateRequest) XXX_DiscardUnknown()
func (*SaleUpdateRequest) XXX_Marshal ¶
func (m *SaleUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SaleUpdateRequest) XXX_Merge ¶
func (m *SaleUpdateRequest) XXX_Merge(src proto.Message)
func (*SaleUpdateRequest) XXX_Size ¶
func (m *SaleUpdateRequest) XXX_Size() int
func (*SaleUpdateRequest) XXX_Unmarshal ¶
func (m *SaleUpdateRequest) XXX_Unmarshal(b []byte) error
type Sales ¶
type Sales struct { Sales []*Sale `protobuf:"bytes,1,rep,name=sales,proto3" json:"sales,omitempty"` Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` Next int32 `protobuf:"varint,4,opt,name=next,proto3" json:"next,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Sales) Descriptor ¶
func (*Sales) ProtoMessage ¶
func (*Sales) ProtoMessage()
func (*Sales) XXX_DiscardUnknown ¶
func (m *Sales) XXX_DiscardUnknown()
func (*Sales) XXX_Marshal ¶
func (*Sales) XXX_Unmarshal ¶
type SalesFilterRequest ¶
type SalesFilterRequest struct { Page int32 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"` ItemsPerPage int32 `protobuf:"varint,3,opt,name=itemsPerPage,proto3" json:"itemsPerPage,omitempty"` From *timestamp.Timestamp `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` To *timestamp.Timestamp `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` ByCardTokenID string `protobuf:"bytes,6,opt,name=byCardTokenID,proto3" json:"byCardTokenID,omitempty"` ByChargeTokenID string `protobuf:"bytes,7,opt,name=byChargeTokenID,proto3" json:"byChargeTokenID,omitempty"` ByStates []SaleState `protobuf:"varint,5,rep,packed,name=byStates,proto3,enum=SaleState" json:"byStates,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SalesFilterRequest) Descriptor ¶
func (*SalesFilterRequest) Descriptor() ([]byte, []int)
func (*SalesFilterRequest) GetByCardTokenID ¶
func (m *SalesFilterRequest) GetByCardTokenID() string
func (*SalesFilterRequest) GetByChargeTokenID ¶
func (m *SalesFilterRequest) GetByChargeTokenID() string
func (*SalesFilterRequest) GetByStates ¶
func (m *SalesFilterRequest) GetByStates() []SaleState
func (*SalesFilterRequest) GetFrom ¶
func (m *SalesFilterRequest) GetFrom() *timestamp.Timestamp
func (*SalesFilterRequest) GetItemsPerPage ¶
func (m *SalesFilterRequest) GetItemsPerPage() int32
func (*SalesFilterRequest) GetPage ¶
func (m *SalesFilterRequest) GetPage() int32
func (*SalesFilterRequest) GetTo ¶
func (m *SalesFilterRequest) GetTo() *timestamp.Timestamp
func (*SalesFilterRequest) ProtoMessage ¶
func (*SalesFilterRequest) ProtoMessage()
func (*SalesFilterRequest) Reset ¶
func (m *SalesFilterRequest) Reset()
func (*SalesFilterRequest) String ¶
func (m *SalesFilterRequest) String() string
func (*SalesFilterRequest) XXX_DiscardUnknown ¶
func (m *SalesFilterRequest) XXX_DiscardUnknown()
func (*SalesFilterRequest) XXX_Marshal ¶
func (m *SalesFilterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SalesFilterRequest) XXX_Merge ¶
func (m *SalesFilterRequest) XXX_Merge(src proto.Message)
func (*SalesFilterRequest) XXX_Size ¶
func (m *SalesFilterRequest) XXX_Size() int
func (*SalesFilterRequest) XXX_Unmarshal ¶
func (m *SalesFilterRequest) XXX_Unmarshal(b []byte) error
type UnimplementedPlutusServer ¶
type UnimplementedPlutusServer struct { }
UnimplementedPlutusServer can be embedded to have forward compatible implementations.
func (*UnimplementedPlutusServer) ChargeSale ¶
func (*UnimplementedPlutusServer) ChargeSale(ctx context.Context, req *ChargeSaleRequest) (*ChargeToken, error)
func (*UnimplementedPlutusServer) ChargeSaleAuto ¶
func (*UnimplementedPlutusServer) ChargeSaleAuto(ctx context.Context, req *ChargeSaleAutoRequest) (*ChargeToken, error)
func (*UnimplementedPlutusServer) ChargeSaleWithNativeToken ¶
func (*UnimplementedPlutusServer) ChargeSaleWithNativeToken(ctx context.Context, req *ChargeWithNativeToken) (*ChargeToken, error)
func (*UnimplementedPlutusServer) CreateDiscountCode ¶
func (*UnimplementedPlutusServer) CreateDiscountCode(ctx context.Context, req *DiscountCodeRequest) (*DiscountCode, error)
func (*UnimplementedPlutusServer) DeleteCardToken ¶
func (*UnimplementedPlutusServer) DeleteCardToken(ctx context.Context, req *CardTokenByID) (*CardToken, error)
func (*UnimplementedPlutusServer) DeleteDiscountCode ¶
func (*UnimplementedPlutusServer) DeleteDiscountCode(ctx context.Context, req *DiscountCodeID) (*DiscountCodes, error)
func (*UnimplementedPlutusServer) DeliverSale ¶
func (*UnimplementedPlutusServer) DeliverSale(ctx context.Context, req *DeliverSaleRequest) (*DeliverChannelResponse, error)
func (*UnimplementedPlutusServer) DoneSale ¶
func (*UnimplementedPlutusServer) DoneSale(ctx context.Context, req *SaleIDRequest) (*Sale, error)
func (*UnimplementedPlutusServer) GetActiveDiscountCodes ¶
func (*UnimplementedPlutusServer) GetActiveDiscountCodes(ctx context.Context, req *ActiveDiscountsRequest) (*DiscountCodes, error)
func (*UnimplementedPlutusServer) GetCardTokenOfCustomerByID ¶
func (*UnimplementedPlutusServer) GetCardTokenOfCustomerByID(ctx context.Context, req *CardTokenByID) (*CardToken, error)
func (*UnimplementedPlutusServer) GetDiscountCode ¶
func (*UnimplementedPlutusServer) GetDiscountCode(ctx context.Context, req *DiscountCodeID) (*DiscountCode, error)
func (*UnimplementedPlutusServer) GetSale ¶
func (*UnimplementedPlutusServer) GetSale(ctx context.Context, req *SaleIDRequest) (*Sale, error)
func (*UnimplementedPlutusServer) GetSales ¶
func (*UnimplementedPlutusServer) GetSales(ctx context.Context, req *SalesFilterRequest) (*Sales, error)
func (*UnimplementedPlutusServer) NewCardToken ¶
func (*UnimplementedPlutusServer) NewCardToken(ctx context.Context, req *NewCardTokenRequest) (*CardToken, error)
func (*UnimplementedPlutusServer) NewCardTokenAuto ¶
func (*UnimplementedPlutusServer) NewCardTokenAuto(ctx context.Context, req *NewCardTokenAutoRequest) (*CardToken, error)
func (*UnimplementedPlutusServer) NewCardTokenFromNative ¶
func (*UnimplementedPlutusServer) NewCardTokenFromNative(ctx context.Context, req *NewCardTokenNativeRequest) (*CardToken, error)
func (*UnimplementedPlutusServer) NewFastSale ¶
func (*UnimplementedPlutusServer) NewSale ¶
func (*UnimplementedPlutusServer) NewSale(ctx context.Context, req *NewSaleRequest) (*Sale, error)
func (*UnimplementedPlutusServer) UpdateSale ¶
func (*UnimplementedPlutusServer) UpdateSale(ctx context.Context, req *SaleUpdateRequest) (*Sale, error)
func (*UnimplementedPlutusServer) ValidateDiscountCode ¶
func (*UnimplementedPlutusServer) ValidateDiscountCode(ctx context.Context, req *DiscountCodeValue) (*DiscountCodeExist, error)
Click to show internal directories.
Click to hide internal directories.