Documentation ¶
Index ¶
- func RegisterMastercardCurrencyServiceServer(s *grpc.Server, srv MastercardCurrencyServiceServer)
- func RegisterMastercardServiceServer(s *grpc.Server, srv MastercardServiceServer)
- type Address
- func (*Address) Descriptor() ([]byte, []int)
- func (m *Address) GetCity() string
- func (m *Address) GetCountry() *Country
- func (m *Address) GetCountrySubdivision() *CountrySubdivision
- func (m *Address) GetLine1() string
- func (m *Address) GetLine2() string
- func (m *Address) GetPostalCode() string
- func (*Address) ProtoMessage()
- func (m *Address) Reset()
- func (m *Address) String() string
- func (m *Address) XXX_DiscardUnknown()
- func (m *Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Address) XXX_Merge(src proto.Message)
- func (m *Address) XXX_Size() int
- func (m *Address) XXX_Unmarshal(b []byte) error
- type Country
- func (*Country) Descriptor() ([]byte, []int)
- func (m *Country) GetCode() string
- func (m *Country) GetName() string
- func (*Country) ProtoMessage()
- func (m *Country) Reset()
- func (m *Country) String() string
- func (m *Country) XXX_DiscardUnknown()
- func (m *Country) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Country) XXX_Merge(src proto.Message)
- func (m *Country) XXX_Size() int
- func (m *Country) XXX_Unmarshal(b []byte) error
- type CountrySubdivision
- func (*CountrySubdivision) Descriptor() ([]byte, []int)
- func (m *CountrySubdivision) GetCode() string
- func (m *CountrySubdivision) GetName() string
- func (*CountrySubdivision) ProtoMessage()
- func (m *CountrySubdivision) Reset()
- func (m *CountrySubdivision) String() string
- func (m *CountrySubdivision) XXX_DiscardUnknown()
- func (m *CountrySubdivision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CountrySubdivision) XXX_Merge(src proto.Message)
- func (m *CountrySubdivision) XXX_Size() int
- func (m *CountrySubdivision) XXX_Unmarshal(b []byte) error
- type CurrencyDataResponse
- func (*CurrencyDataResponse) Descriptor() ([]byte, []int)
- func (m *CurrencyDataResponse) GetBankFee() float32
- func (m *CurrencyDataResponse) GetConversionRate() float32
- func (m *CurrencyDataResponse) GetCrdhldBillAmt() float32
- func (m *CurrencyDataResponse) GetCrdhldBillCurr() string
- func (m *CurrencyDataResponse) GetErrorCode() int64
- func (m *CurrencyDataResponse) GetErrorMessage() string
- func (m *CurrencyDataResponse) GetFxDate() string
- func (m *CurrencyDataResponse) GetTransAmt() float32
- func (m *CurrencyDataResponse) GetTransCurr() string
- func (*CurrencyDataResponse) ProtoMessage()
- func (m *CurrencyDataResponse) Reset()
- func (m *CurrencyDataResponse) String() string
- func (m *CurrencyDataResponse) XXX_DiscardUnknown()
- func (m *CurrencyDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CurrencyDataResponse) XXX_Merge(src proto.Message)
- func (m *CurrencyDataResponse) XXX_Size() int
- func (m *CurrencyDataResponse) XXX_Unmarshal(b []byte) error
- type CurrencyResponse
- func (*CurrencyResponse) Descriptor() ([]byte, []int)
- func (m *CurrencyResponse) GetData() *CurrencyDataResponse
- func (m *CurrencyResponse) GetDate() *timestamp.Timestamp
- func (m *CurrencyResponse) GetDescription() string
- func (m *CurrencyResponse) GetName() string
- func (m *CurrencyResponse) GetTransAmt() float32
- func (m *CurrencyResponse) GetType() string
- func (*CurrencyResponse) ProtoMessage()
- func (m *CurrencyResponse) Reset()
- func (m *CurrencyResponse) String() string
- func (m *CurrencyResponse) XXX_DiscardUnknown()
- func (m *CurrencyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CurrencyResponse) XXX_Merge(src proto.Message)
- func (m *CurrencyResponse) XXX_Size() int
- func (m *CurrencyResponse) XXX_Unmarshal(b []byte) error
- type MastercardCurrencyConversionReply
- func (*MastercardCurrencyConversionReply) Descriptor() ([]byte, []int)
- func (m *MastercardCurrencyConversionReply) GetResponse() *CurrencyResponse
- func (*MastercardCurrencyConversionReply) ProtoMessage()
- func (m *MastercardCurrencyConversionReply) Reset()
- func (m *MastercardCurrencyConversionReply) String() string
- func (m *MastercardCurrencyConversionReply) XXX_DiscardUnknown()
- func (m *MastercardCurrencyConversionReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MastercardCurrencyConversionReply) XXX_Merge(src proto.Message)
- func (m *MastercardCurrencyConversionReply) XXX_Size() int
- func (m *MastercardCurrencyConversionReply) XXX_Unmarshal(b []byte) error
- type MastercardCurrencyConversionRequest
- func (*MastercardCurrencyConversionRequest) Descriptor() ([]byte, []int)
- func (m *MastercardCurrencyConversionRequest) GetBankFee() int64
- func (m *MastercardCurrencyConversionRequest) GetCrdhldBillCurr() string
- func (m *MastercardCurrencyConversionRequest) GetFxDate() string
- func (m *MastercardCurrencyConversionRequest) GetTransAmt() float32
- func (m *MastercardCurrencyConversionRequest) GetTransCurr() string
- func (*MastercardCurrencyConversionRequest) ProtoMessage()
- func (m *MastercardCurrencyConversionRequest) Reset()
- func (m *MastercardCurrencyConversionRequest) String() string
- func (m *MastercardCurrencyConversionRequest) XXX_DiscardUnknown()
- func (m *MastercardCurrencyConversionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MastercardCurrencyConversionRequest) XXX_Merge(src proto.Message)
- func (m *MastercardCurrencyConversionRequest) XXX_Size() int
- func (m *MastercardCurrencyConversionRequest) XXX_Unmarshal(b []byte) error
- type MastercardCurrencyServiceClient
- type MastercardCurrencyServiceServer
- type MastercardReply
- func (*MastercardReply) Descriptor() ([]byte, []int)
- func (m *MastercardReply) GetMerchantIDs() *MerchantIDs
- func (*MastercardReply) ProtoMessage()
- func (m *MastercardReply) Reset()
- func (m *MastercardReply) String() string
- func (m *MastercardReply) XXX_DiscardUnknown()
- func (m *MastercardReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MastercardReply) XXX_Merge(src proto.Message)
- func (m *MastercardReply) XXX_Size() int
- func (m *MastercardReply) XXX_Unmarshal(b []byte) error
- type MastercardRequest
- func (*MastercardRequest) Descriptor() ([]byte, []int)
- func (m *MastercardRequest) GetMerchantID() string
- func (m *MastercardRequest) GetSearch() int64
- func (*MastercardRequest) ProtoMessage()
- func (m *MastercardRequest) Reset()
- func (m *MastercardRequest) String() string
- func (m *MastercardRequest) XXX_DiscardUnknown()
- func (m *MastercardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MastercardRequest) XXX_Merge(src proto.Message)
- func (m *MastercardRequest) XXX_Size() int
- func (m *MastercardRequest) XXX_Unmarshal(b []byte) error
- type MastercardServiceClient
- type MastercardServiceServer
- type Merchant
- func (*Merchant) Descriptor() ([]byte, []int)
- func (m *Merchant) GetAddress() *Address
- func (m *Merchant) GetBrandName() string
- func (m *Merchant) GetComment() string
- func (m *Merchant) GetDescriptorText() string
- func (m *Merchant) GetLegalCorporateName() string
- func (m *Merchant) GetLocationID() int64
- func (m *Merchant) GetMatchConfidenceScore() int64
- func (m *Merchant) GetMerchantCategory() string
- func (m *Merchant) GetMerchantDbaName() string
- func (m *Merchant) GetPhoneNumber() string
- func (m *Merchant) GetSoleProprietorName() string
- func (*Merchant) ProtoMessage()
- func (m *Merchant) Reset()
- func (m *Merchant) String() string
- func (m *Merchant) XXX_DiscardUnknown()
- func (m *Merchant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Merchant) XXX_Merge(src proto.Message)
- func (m *Merchant) XXX_Size() int
- func (m *Merchant) XXX_Unmarshal(b []byte) error
- type MerchantIDs
- func (*MerchantIDs) Descriptor() ([]byte, []int)
- func (m *MerchantIDs) GetMerchant() []*Merchant
- func (m *MerchantIDs) GetMessage() string
- func (*MerchantIDs) ProtoMessage()
- func (m *MerchantIDs) Reset()
- func (m *MerchantIDs) String() string
- func (m *MerchantIDs) XXX_DiscardUnknown()
- func (m *MerchantIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MerchantIDs) XXX_Merge(src proto.Message)
- func (m *MerchantIDs) XXX_Size() int
- func (m *MerchantIDs) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterMastercardCurrencyServiceServer ¶
func RegisterMastercardCurrencyServiceServer(s *grpc.Server, srv MastercardCurrencyServiceServer)
func RegisterMastercardServiceServer ¶
func RegisterMastercardServiceServer(s *grpc.Server, srv MastercardServiceServer)
Types ¶
type Address ¶
type Address struct { Line1 string `protobuf:"bytes,1,opt,name=Line1,proto3" json:"Line1,omitempty"` Line2 string `protobuf:"bytes,2,opt,name=Line2,proto3" json:"Line2,omitempty"` City string `protobuf:"bytes,3,opt,name=City,proto3" json:"City,omitempty"` PostalCode string `protobuf:"bytes,4,opt,name=PostalCode,proto3" json:"PostalCode,omitempty"` CountrySubdivision *CountrySubdivision `protobuf:"bytes,5,opt,name=CountrySubdivision,proto3" json:"CountrySubdivision,omitempty"` Country *Country `protobuf:"bytes,6,opt,name=Country,proto3" json:"Country,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Address contains the full address of a merchant
func (*Address) Descriptor ¶
func (*Address) GetCountry ¶
func (*Address) GetCountrySubdivision ¶
func (m *Address) GetCountrySubdivision() *CountrySubdivision
func (*Address) GetPostalCode ¶
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) XXX_DiscardUnknown ¶
func (m *Address) XXX_DiscardUnknown()
func (*Address) XXX_Marshal ¶
func (*Address) XXX_Unmarshal ¶
type Country ¶
type Country struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,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:"-"` }
Country contains country informations
func (*Country) Descriptor ¶
func (*Country) ProtoMessage ¶
func (*Country) ProtoMessage()
func (*Country) XXX_DiscardUnknown ¶
func (m *Country) XXX_DiscardUnknown()
func (*Country) XXX_Marshal ¶
func (*Country) XXX_Unmarshal ¶
type CountrySubdivision ¶
type CountrySubdivision struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,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 (*CountrySubdivision) Descriptor ¶
func (*CountrySubdivision) Descriptor() ([]byte, []int)
func (*CountrySubdivision) GetCode ¶
func (m *CountrySubdivision) GetCode() string
func (*CountrySubdivision) GetName ¶
func (m *CountrySubdivision) GetName() string
func (*CountrySubdivision) ProtoMessage ¶
func (*CountrySubdivision) ProtoMessage()
func (*CountrySubdivision) Reset ¶
func (m *CountrySubdivision) Reset()
func (*CountrySubdivision) String ¶
func (m *CountrySubdivision) String() string
func (*CountrySubdivision) XXX_DiscardUnknown ¶
func (m *CountrySubdivision) XXX_DiscardUnknown()
func (*CountrySubdivision) XXX_Marshal ¶
func (m *CountrySubdivision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CountrySubdivision) XXX_Merge ¶
func (m *CountrySubdivision) XXX_Merge(src proto.Message)
func (*CountrySubdivision) XXX_Size ¶
func (m *CountrySubdivision) XXX_Size() int
func (*CountrySubdivision) XXX_Unmarshal ¶
func (m *CountrySubdivision) XXX_Unmarshal(b []byte) error
type CurrencyDataResponse ¶
type CurrencyDataResponse struct { // Rate applied to the transaction to convert from Transaction Currency to Cardholder Billing Currency. ConversionRate float32 `protobuf:"fixed32,1,opt,name=conversionRate,proto3" json:"conversionRate,omitempty"` // Amount in the cardholder billing currency. CrdhldBillAmt float32 `protobuf:"fixed32,2,opt,name=crdhldBillAmt,proto3" json:"crdhldBillAmt,omitempty"` // Amount in the transaction currency. TransAmt float32 `protobuf:"fixed32,3,opt,name=transAmt,proto3" json:"transAmt,omitempty"` // Date of the requested FX rates. FxDate string `protobuf:"bytes,4,opt,name=fxDate,proto3" json:"fxDate,omitempty"` // Currency of the transaction TransCurr string `protobuf:"bytes,5,opt,name=transCurr,proto3" json:"transCurr,omitempty"` // Cardholder billing currency. CrdhldBillCurr string `protobuf:"bytes,6,opt,name=crdhldBillCurr,proto3" json:"crdhldBillCurr,omitempty"` // Bankfee BankFee float32 `protobuf:"fixed32,7,opt,name=bankFee,proto3" json:"bankFee,omitempty"` // Error code ErrorCode int64 `protobuf:"varint,8,opt,name=errorCode,proto3" json:"errorCode,omitempty"` // The reason for the error. ErrorMessage string `protobuf:"bytes,9,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CurrencyDataResponse) Descriptor ¶
func (*CurrencyDataResponse) Descriptor() ([]byte, []int)
func (*CurrencyDataResponse) GetBankFee ¶
func (m *CurrencyDataResponse) GetBankFee() float32
func (*CurrencyDataResponse) GetConversionRate ¶
func (m *CurrencyDataResponse) GetConversionRate() float32
func (*CurrencyDataResponse) GetCrdhldBillAmt ¶
func (m *CurrencyDataResponse) GetCrdhldBillAmt() float32
func (*CurrencyDataResponse) GetCrdhldBillCurr ¶
func (m *CurrencyDataResponse) GetCrdhldBillCurr() string
func (*CurrencyDataResponse) GetErrorCode ¶
func (m *CurrencyDataResponse) GetErrorCode() int64
func (*CurrencyDataResponse) GetErrorMessage ¶
func (m *CurrencyDataResponse) GetErrorMessage() string
func (*CurrencyDataResponse) GetFxDate ¶
func (m *CurrencyDataResponse) GetFxDate() string
func (*CurrencyDataResponse) GetTransAmt ¶
func (m *CurrencyDataResponse) GetTransAmt() float32
func (*CurrencyDataResponse) GetTransCurr ¶
func (m *CurrencyDataResponse) GetTransCurr() string
func (*CurrencyDataResponse) ProtoMessage ¶
func (*CurrencyDataResponse) ProtoMessage()
func (*CurrencyDataResponse) Reset ¶
func (m *CurrencyDataResponse) Reset()
func (*CurrencyDataResponse) String ¶
func (m *CurrencyDataResponse) String() string
func (*CurrencyDataResponse) XXX_DiscardUnknown ¶
func (m *CurrencyDataResponse) XXX_DiscardUnknown()
func (*CurrencyDataResponse) XXX_Marshal ¶
func (m *CurrencyDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CurrencyDataResponse) XXX_Merge ¶
func (m *CurrencyDataResponse) XXX_Merge(src proto.Message)
func (*CurrencyDataResponse) XXX_Size ¶
func (m *CurrencyDataResponse) XXX_Size() int
func (*CurrencyDataResponse) XXX_Unmarshal ¶
func (m *CurrencyDataResponse) XXX_Unmarshal(b []byte) error
type CurrencyResponse ¶
type CurrencyResponse struct { // The name of the service being requested. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The type of response being returned by the API. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // The description of the API being called. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Additional fees imposed by the bank. Date *timestamp.Timestamp `protobuf:"bytes,4,opt,name=date,proto3" json:"date,omitempty"` // Amount in the transaction currency TransAmt float32 `protobuf:"fixed32,5,opt,name=transAmt,proto3" json:"transAmt,omitempty"` // Data Data *CurrencyDataResponse `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CurrencyResponse) Descriptor ¶
func (*CurrencyResponse) Descriptor() ([]byte, []int)
func (*CurrencyResponse) GetData ¶
func (m *CurrencyResponse) GetData() *CurrencyDataResponse
func (*CurrencyResponse) GetDate ¶
func (m *CurrencyResponse) GetDate() *timestamp.Timestamp
func (*CurrencyResponse) GetDescription ¶
func (m *CurrencyResponse) GetDescription() string
func (*CurrencyResponse) GetName ¶
func (m *CurrencyResponse) GetName() string
func (*CurrencyResponse) GetTransAmt ¶
func (m *CurrencyResponse) GetTransAmt() float32
func (*CurrencyResponse) GetType ¶
func (m *CurrencyResponse) GetType() string
func (*CurrencyResponse) ProtoMessage ¶
func (*CurrencyResponse) ProtoMessage()
func (*CurrencyResponse) Reset ¶
func (m *CurrencyResponse) Reset()
func (*CurrencyResponse) String ¶
func (m *CurrencyResponse) String() string
func (*CurrencyResponse) XXX_DiscardUnknown ¶
func (m *CurrencyResponse) XXX_DiscardUnknown()
func (*CurrencyResponse) XXX_Marshal ¶
func (m *CurrencyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CurrencyResponse) XXX_Merge ¶
func (m *CurrencyResponse) XXX_Merge(src proto.Message)
func (*CurrencyResponse) XXX_Size ¶
func (m *CurrencyResponse) XXX_Size() int
func (*CurrencyResponse) XXX_Unmarshal ¶
func (m *CurrencyResponse) XXX_Unmarshal(b []byte) error
type MastercardCurrencyConversionReply ¶
type MastercardCurrencyConversionReply struct { Response *CurrencyResponse `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MastercardCurrencyConversionReply) Descriptor ¶
func (*MastercardCurrencyConversionReply) Descriptor() ([]byte, []int)
func (*MastercardCurrencyConversionReply) GetResponse ¶
func (m *MastercardCurrencyConversionReply) GetResponse() *CurrencyResponse
func (*MastercardCurrencyConversionReply) ProtoMessage ¶
func (*MastercardCurrencyConversionReply) ProtoMessage()
func (*MastercardCurrencyConversionReply) Reset ¶
func (m *MastercardCurrencyConversionReply) Reset()
func (*MastercardCurrencyConversionReply) String ¶
func (m *MastercardCurrencyConversionReply) String() string
func (*MastercardCurrencyConversionReply) XXX_DiscardUnknown ¶
func (m *MastercardCurrencyConversionReply) XXX_DiscardUnknown()
func (*MastercardCurrencyConversionReply) XXX_Marshal ¶
func (m *MastercardCurrencyConversionReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MastercardCurrencyConversionReply) XXX_Merge ¶
func (m *MastercardCurrencyConversionReply) XXX_Merge(src proto.Message)
func (*MastercardCurrencyConversionReply) XXX_Size ¶
func (m *MastercardCurrencyConversionReply) XXX_Size() int
func (*MastercardCurrencyConversionReply) XXX_Unmarshal ¶
func (m *MastercardCurrencyConversionReply) XXX_Unmarshal(b []byte) error
type MastercardCurrencyConversionRequest ¶
type MastercardCurrencyConversionRequest struct { // Date of the requested FX rates. FxDate string `protobuf:"bytes,1,opt,name=fxDate,proto3" json:"fxDate,omitempty"` // Currency of the transaction. TransCurr string `protobuf:"bytes,2,opt,name=transCurr,proto3" json:"transCurr,omitempty"` // Cardholder billing currency. CrdhldBillCurr string `protobuf:"bytes,3,opt,name=crdhldBillCurr,proto3" json:"crdhldBillCurr,omitempty"` // Additional fees imposed by the bank. BankFee int64 `protobuf:"varint,4,opt,name=bankFee,proto3" json:"bankFee,omitempty"` // Amount in the transaction currency TransAmt float32 `protobuf:"fixed32,5,opt,name=transAmt,proto3" json:"transAmt,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MastercardCurrencyConversionRequest) Descriptor ¶
func (*MastercardCurrencyConversionRequest) Descriptor() ([]byte, []int)
func (*MastercardCurrencyConversionRequest) GetBankFee ¶
func (m *MastercardCurrencyConversionRequest) GetBankFee() int64
func (*MastercardCurrencyConversionRequest) GetCrdhldBillCurr ¶
func (m *MastercardCurrencyConversionRequest) GetCrdhldBillCurr() string
func (*MastercardCurrencyConversionRequest) GetFxDate ¶
func (m *MastercardCurrencyConversionRequest) GetFxDate() string
func (*MastercardCurrencyConversionRequest) GetTransAmt ¶
func (m *MastercardCurrencyConversionRequest) GetTransAmt() float32
func (*MastercardCurrencyConversionRequest) GetTransCurr ¶
func (m *MastercardCurrencyConversionRequest) GetTransCurr() string
func (*MastercardCurrencyConversionRequest) ProtoMessage ¶
func (*MastercardCurrencyConversionRequest) ProtoMessage()
func (*MastercardCurrencyConversionRequest) Reset ¶
func (m *MastercardCurrencyConversionRequest) Reset()
func (*MastercardCurrencyConversionRequest) String ¶
func (m *MastercardCurrencyConversionRequest) String() string
func (*MastercardCurrencyConversionRequest) XXX_DiscardUnknown ¶
func (m *MastercardCurrencyConversionRequest) XXX_DiscardUnknown()
func (*MastercardCurrencyConversionRequest) XXX_Marshal ¶
func (m *MastercardCurrencyConversionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MastercardCurrencyConversionRequest) XXX_Merge ¶
func (m *MastercardCurrencyConversionRequest) XXX_Merge(src proto.Message)
func (*MastercardCurrencyConversionRequest) XXX_Size ¶
func (m *MastercardCurrencyConversionRequest) XXX_Size() int
func (*MastercardCurrencyConversionRequest) XXX_Unmarshal ¶
func (m *MastercardCurrencyConversionRequest) XXX_Unmarshal(b []byte) error
type MastercardCurrencyServiceClient ¶
type MastercardCurrencyServiceClient interface {
GetCurrencyConversion(ctx context.Context, in *MastercardCurrencyConversionRequest, opts ...grpc.CallOption) (*MastercardCurrencyConversionReply, error)
}
MastercardCurrencyServiceClient is the client API for MastercardCurrencyService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMastercardCurrencyServiceClient ¶
func NewMastercardCurrencyServiceClient(cc *grpc.ClientConn) MastercardCurrencyServiceClient
type MastercardCurrencyServiceServer ¶
type MastercardCurrencyServiceServer interface {
GetCurrencyConversion(context.Context, *MastercardCurrencyConversionRequest) (*MastercardCurrencyConversionReply, error)
}
MastercardCurrencyServiceServer is the server API for MastercardCurrencyService service.
type MastercardReply ¶
type MastercardReply struct { MerchantIDs *MerchantIDs `protobuf:"bytes,1,opt,name=merchantIDs,proto3" json:"merchantIDs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MastercardReply) Descriptor ¶
func (*MastercardReply) Descriptor() ([]byte, []int)
func (*MastercardReply) GetMerchantIDs ¶
func (m *MastercardReply) GetMerchantIDs() *MerchantIDs
func (*MastercardReply) ProtoMessage ¶
func (*MastercardReply) ProtoMessage()
func (*MastercardReply) Reset ¶
func (m *MastercardReply) Reset()
func (*MastercardReply) String ¶
func (m *MastercardReply) String() string
func (*MastercardReply) XXX_DiscardUnknown ¶
func (m *MastercardReply) XXX_DiscardUnknown()
func (*MastercardReply) XXX_Marshal ¶
func (m *MastercardReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MastercardReply) XXX_Merge ¶
func (m *MastercardReply) XXX_Merge(src proto.Message)
func (*MastercardReply) XXX_Size ¶
func (m *MastercardReply) XXX_Size() int
func (*MastercardReply) XXX_Unmarshal ¶
func (m *MastercardReply) XXX_Unmarshal(b []byte) error
type MastercardRequest ¶
type MastercardRequest struct { MerchantID string `protobuf:"bytes,1,opt,name=MerchantID,proto3" json:"MerchantID,omitempty"` // this can be fuzzy or exact search Search int64 `protobuf:"varint,2,opt,name=Search,proto3" json:"Search,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MastercardRequest) Descriptor ¶
func (*MastercardRequest) Descriptor() ([]byte, []int)
func (*MastercardRequest) GetMerchantID ¶
func (m *MastercardRequest) GetMerchantID() string
func (*MastercardRequest) GetSearch ¶
func (m *MastercardRequest) GetSearch() int64
func (*MastercardRequest) ProtoMessage ¶
func (*MastercardRequest) ProtoMessage()
func (*MastercardRequest) Reset ¶
func (m *MastercardRequest) Reset()
func (*MastercardRequest) String ¶
func (m *MastercardRequest) String() string
func (*MastercardRequest) XXX_DiscardUnknown ¶
func (m *MastercardRequest) XXX_DiscardUnknown()
func (*MastercardRequest) XXX_Marshal ¶
func (m *MastercardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MastercardRequest) XXX_Merge ¶
func (m *MastercardRequest) XXX_Merge(src proto.Message)
func (*MastercardRequest) XXX_Size ¶
func (m *MastercardRequest) XXX_Size() int
func (*MastercardRequest) XXX_Unmarshal ¶
func (m *MastercardRequest) XXX_Unmarshal(b []byte) error
type MastercardServiceClient ¶
type MastercardServiceClient interface {
GetMerchantIdentifiers(ctx context.Context, in *MastercardRequest, opts ...grpc.CallOption) (*MastercardReply, error)
}
MastercardServiceClient is the client API for MastercardService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMastercardServiceClient ¶
func NewMastercardServiceClient(cc *grpc.ClientConn) MastercardServiceClient
type MastercardServiceServer ¶
type MastercardServiceServer interface {
GetMerchantIdentifiers(context.Context, *MastercardRequest) (*MastercardReply, error)
}
MastercardServiceServer is the server API for MastercardService service.
type Merchant ¶
type Merchant struct { Address *Address `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"` PhoneNumber string `protobuf:"bytes,2,opt,name=PhoneNumber,proto3" json:"PhoneNumber,omitempty"` BrandName string `protobuf:"bytes,3,opt,name=BrandName,proto3" json:"BrandName,omitempty"` MerchantCategory string `protobuf:"bytes,4,opt,name=MerchantCategory,proto3" json:"MerchantCategory,omitempty"` MerchantDbaName string `protobuf:"bytes,5,opt,name=MerchantDbaName,proto3" json:"MerchantDbaName,omitempty"` DescriptorText string `protobuf:"bytes,6,opt,name=DescriptorText,proto3" json:"DescriptorText,omitempty"` LegalCorporateName string `protobuf:"bytes,7,opt,name=LegalCorporateName,proto3" json:"LegalCorporateName,omitempty"` Comment string `protobuf:"bytes,8,opt,name=Comment,proto3" json:"Comment,omitempty"` LocationID int64 `protobuf:"varint,9,opt,name=LocationID,proto3" json:"LocationID,omitempty"` SoleProprietorName string `protobuf:"bytes,10,opt,name=SoleProprietorName,proto3" json:"SoleProprietorName,omitempty"` MatchConfidenceScore int64 `protobuf:"varint,11,opt,name=MatchConfidenceScore,proto3" json:"MatchConfidenceScore,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Merchant) Descriptor ¶
func (*Merchant) GetAddress ¶
func (*Merchant) GetBrandName ¶
func (*Merchant) GetComment ¶
func (*Merchant) GetDescriptorText ¶
func (*Merchant) GetLegalCorporateName ¶
func (*Merchant) GetLocationID ¶
func (*Merchant) GetMatchConfidenceScore ¶
func (*Merchant) GetMerchantCategory ¶
func (*Merchant) GetMerchantDbaName ¶
func (*Merchant) GetPhoneNumber ¶
func (*Merchant) GetSoleProprietorName ¶
func (*Merchant) ProtoMessage ¶
func (*Merchant) ProtoMessage()
func (*Merchant) XXX_DiscardUnknown ¶
func (m *Merchant) XXX_DiscardUnknown()
func (*Merchant) XXX_Marshal ¶
func (*Merchant) XXX_Unmarshal ¶
type MerchantIDs ¶
type MerchantIDs struct { Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"` Merchant []*Merchant `protobuf:"bytes,2,rep,name=Merchant,proto3" json:"Merchant,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MerchantIDs) Descriptor ¶
func (*MerchantIDs) Descriptor() ([]byte, []int)
func (*MerchantIDs) GetMerchant ¶
func (m *MerchantIDs) GetMerchant() []*Merchant
func (*MerchantIDs) GetMessage ¶
func (m *MerchantIDs) GetMessage() string
func (*MerchantIDs) ProtoMessage ¶
func (*MerchantIDs) ProtoMessage()
func (*MerchantIDs) Reset ¶
func (m *MerchantIDs) Reset()
func (*MerchantIDs) String ¶
func (m *MerchantIDs) String() string
func (*MerchantIDs) XXX_DiscardUnknown ¶
func (m *MerchantIDs) XXX_DiscardUnknown()
func (*MerchantIDs) XXX_Marshal ¶
func (m *MerchantIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MerchantIDs) XXX_Merge ¶
func (m *MerchantIDs) XXX_Merge(src proto.Message)
func (*MerchantIDs) XXX_Size ¶
func (m *MerchantIDs) XXX_Size() int
func (*MerchantIDs) XXX_Unmarshal ¶
func (m *MerchantIDs) XXX_Unmarshal(b []byte) error