Documentation ¶
Index ¶
- Variables
- func NewAccountBankAccountEndpoints() []*api.Endpoint
- func RegisterAccountBankAccountHandler(s server.Server, hdlr AccountBankAccountHandler, opts ...server.HandlerOption) error
- type AccountBankAccountHandler
- type AccountBankAccountService
- type BankAccount
- func (*BankAccount) Descriptor() ([]byte, []int)deprecated
- func (x *BankAccount) GetAccountName() string
- func (x *BankAccount) GetAccountNumber() string
- func (x *BankAccount) GetBankName() string
- func (x *BankAccount) GetBirthday() string
- func (x *BankAccount) GetContact() string
- func (x *BankAccount) GetCountry() string
- func (x *BankAccount) GetDetailAddress() string
- func (x *BankAccount) GetFirstName() string
- func (x *BankAccount) GetId() int64
- func (x *BankAccount) GetIdCardBack() string
- func (x *BankAccount) GetIdCardFront() string
- func (x *BankAccount) GetLastName() string
- func (x *BankAccount) GetMethodToPayTax() string
- func (x *BankAccount) GetOpeningBankName() string
- func (x *BankAccount) GetPostCode() string
- func (x *BankAccount) GetSwiftCode() string
- func (x *BankAccount) GetUserId() int64
- func (*BankAccount) ProtoMessage()
- func (x *BankAccount) ProtoReflect() protoreflect.Message
- func (x *BankAccount) Reset()
- func (x *BankAccount) String() string
- type GetBankAccountReq
- func (*GetBankAccountReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetBankAccountReq) GetCountry() string
- func (x *GetBankAccountReq) GetUserId() int64
- func (*GetBankAccountReq) ProtoMessage()
- func (x *GetBankAccountReq) ProtoReflect() protoreflect.Message
- func (x *GetBankAccountReq) Reset()
- func (x *GetBankAccountReq) String() string
- type GetBankAccountRes
- func (*GetBankAccountRes) Descriptor() ([]byte, []int)deprecated
- func (x *GetBankAccountRes) GetDetail() *BankAccount
- func (*GetBankAccountRes) ProtoMessage()
- func (x *GetBankAccountRes) ProtoReflect() protoreflect.Message
- func (x *GetBankAccountRes) Reset()
- func (x *GetBankAccountRes) String() string
- type SaveBankAccountReq
- func (*SaveBankAccountReq) Descriptor() ([]byte, []int)deprecated
- func (x *SaveBankAccountReq) GetDetail() *BankAccount
- func (*SaveBankAccountReq) ProtoMessage()
- func (x *SaveBankAccountReq) ProtoReflect() protoreflect.Message
- func (x *SaveBankAccountReq) Reset()
- func (x *SaveBankAccountReq) String() string
- type SaveBankAccountRes
- func (*SaveBankAccountRes) Descriptor() ([]byte, []int)deprecated
- func (x *SaveBankAccountRes) GetDetail() *BankAccount
- func (*SaveBankAccountRes) ProtoMessage()
- func (x *SaveBankAccountRes) ProtoReflect() protoreflect.Message
- func (x *SaveBankAccountRes) Reset()
- func (x *SaveBankAccountRes) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_bank_account_bank_account_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAccountBankAccountHandler ¶
func RegisterAccountBankAccountHandler(s server.Server, hdlr AccountBankAccountHandler, opts ...server.HandlerOption) error
Types ¶
type AccountBankAccountHandler ¶
type AccountBankAccountHandler interface { SaveBankAccount(context.Context, *SaveBankAccountReq, *SaveBankAccountRes) error GetBankAccount(context.Context, *GetBankAccountReq, *GetBankAccountRes) error }
type AccountBankAccountService ¶
type AccountBankAccountService interface { SaveBankAccount(ctx context.Context, in *SaveBankAccountReq, opts ...client.CallOption) (*SaveBankAccountRes, error) GetBankAccount(ctx context.Context, in *GetBankAccountReq, opts ...client.CallOption) (*GetBankAccountRes, error) }
func NewAccountBankAccountService ¶
func NewAccountBankAccountService(name string, c client.Client) AccountBankAccountService
type BankAccount ¶
type BankAccount struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id"` SwiftCode string `protobuf:"bytes,3,opt,name=swift_code,json=swiftCode,proto3" json:"swift_code"` // 银行码 BankName string `protobuf:"bytes,4,opt,name=bank_name,json=bankName,proto3" json:"bank_name"` // 银行名称 AccountName string `protobuf:"bytes,5,opt,name=account_name,json=accountName,proto3" json:"account_name"` // 银行卡姓名 AccountNumber string `protobuf:"bytes,6,opt,name=account_number,json=accountNumber,proto3" json:"account_number"` // 银行卡账号,数字 MethodToPayTax string `protobuf:"bytes,7,opt,name=method_to_pay_tax,json=methodToPayTax,proto3" json:"method_to_pay_tax"` // 纳税方式: personal/company DetailAddress string `protobuf:"bytes,8,opt,name=detail_address,json=detailAddress,proto3" json:"detail_address"` // 详细地址 PostCode string `protobuf:"bytes,9,opt,name=post_code,json=postCode,proto3" json:"post_code"` // 邮政编码 IdCardFront string `protobuf:"bytes,10,opt,name=id_card_front,json=idCardFront,proto3" json:"id_card_front"` // 身份证正面 IdCardBack string `protobuf:"bytes,11,opt,name=id_card_back,json=idCardBack,proto3" json:"id_card_back"` // 身份证反面 FirstName string `protobuf:"bytes,12,opt,name=first_name,json=firstName,proto3" json:"first_name"` // 姓 LastName string `protobuf:"bytes,13,opt,name=last_name,json=lastName,proto3" json:"last_name"` // 名字 Birthday string `protobuf:"bytes,14,opt,name=birthday,proto3" json:"birthday"` // 生日,年-月-日 Contact string `protobuf:"bytes,15,opt,name=contact,proto3" json:"contact"` // 联系方式 Country string `protobuf:"bytes,16,opt,name=country,proto3" json:"country"` // 国家 OpeningBankName string `protobuf:"bytes,17,opt,name=opening_bank_name,json=openingBankName,proto3" json:"opening_bank_name"` // 开户行名称 // contains filtered or unexported fields }
func (*BankAccount) Descriptor
deprecated
func (*BankAccount) Descriptor() ([]byte, []int)
Deprecated: Use BankAccount.ProtoReflect.Descriptor instead.
func (*BankAccount) GetAccountName ¶
func (x *BankAccount) GetAccountName() string
func (*BankAccount) GetAccountNumber ¶
func (x *BankAccount) GetAccountNumber() string
func (*BankAccount) GetBankName ¶
func (x *BankAccount) GetBankName() string
func (*BankAccount) GetBirthday ¶
func (x *BankAccount) GetBirthday() string
func (*BankAccount) GetContact ¶
func (x *BankAccount) GetContact() string
func (*BankAccount) GetCountry ¶
func (x *BankAccount) GetCountry() string
func (*BankAccount) GetDetailAddress ¶
func (x *BankAccount) GetDetailAddress() string
func (*BankAccount) GetFirstName ¶
func (x *BankAccount) GetFirstName() string
func (*BankAccount) GetId ¶
func (x *BankAccount) GetId() int64
func (*BankAccount) GetIdCardBack ¶
func (x *BankAccount) GetIdCardBack() string
func (*BankAccount) GetIdCardFront ¶
func (x *BankAccount) GetIdCardFront() string
func (*BankAccount) GetLastName ¶
func (x *BankAccount) GetLastName() string
func (*BankAccount) GetMethodToPayTax ¶
func (x *BankAccount) GetMethodToPayTax() string
func (*BankAccount) GetOpeningBankName ¶
func (x *BankAccount) GetOpeningBankName() string
func (*BankAccount) GetPostCode ¶
func (x *BankAccount) GetPostCode() string
func (*BankAccount) GetSwiftCode ¶
func (x *BankAccount) GetSwiftCode() string
func (*BankAccount) GetUserId ¶
func (x *BankAccount) GetUserId() int64
func (*BankAccount) ProtoMessage ¶
func (*BankAccount) ProtoMessage()
func (*BankAccount) ProtoReflect ¶
func (x *BankAccount) ProtoReflect() protoreflect.Message
func (*BankAccount) Reset ¶
func (x *BankAccount) Reset()
func (*BankAccount) String ¶
func (x *BankAccount) String() string
type GetBankAccountReq ¶
type GetBankAccountReq struct { UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id"` Country string `protobuf:"bytes,3,opt,name=country,proto3" json:"country"` // contains filtered or unexported fields }
func (*GetBankAccountReq) Descriptor
deprecated
func (*GetBankAccountReq) Descriptor() ([]byte, []int)
Deprecated: Use GetBankAccountReq.ProtoReflect.Descriptor instead.
func (*GetBankAccountReq) GetCountry ¶
func (x *GetBankAccountReq) GetCountry() string
func (*GetBankAccountReq) GetUserId ¶
func (x *GetBankAccountReq) GetUserId() int64
func (*GetBankAccountReq) ProtoMessage ¶
func (*GetBankAccountReq) ProtoMessage()
func (*GetBankAccountReq) ProtoReflect ¶
func (x *GetBankAccountReq) ProtoReflect() protoreflect.Message
func (*GetBankAccountReq) Reset ¶
func (x *GetBankAccountReq) Reset()
func (*GetBankAccountReq) String ¶
func (x *GetBankAccountReq) String() string
type GetBankAccountRes ¶
type GetBankAccountRes struct { Detail *BankAccount `protobuf:"bytes,1,opt,name=detail,proto3" json:"detail"` // contains filtered or unexported fields }
func (*GetBankAccountRes) Descriptor
deprecated
func (*GetBankAccountRes) Descriptor() ([]byte, []int)
Deprecated: Use GetBankAccountRes.ProtoReflect.Descriptor instead.
func (*GetBankAccountRes) GetDetail ¶
func (x *GetBankAccountRes) GetDetail() *BankAccount
func (*GetBankAccountRes) ProtoMessage ¶
func (*GetBankAccountRes) ProtoMessage()
func (*GetBankAccountRes) ProtoReflect ¶
func (x *GetBankAccountRes) ProtoReflect() protoreflect.Message
func (*GetBankAccountRes) Reset ¶
func (x *GetBankAccountRes) Reset()
func (*GetBankAccountRes) String ¶
func (x *GetBankAccountRes) String() string
type SaveBankAccountReq ¶
type SaveBankAccountReq struct { Detail *BankAccount `protobuf:"bytes,1,opt,name=detail,proto3" json:"detail"` // contains filtered or unexported fields }
func (*SaveBankAccountReq) Descriptor
deprecated
func (*SaveBankAccountReq) Descriptor() ([]byte, []int)
Deprecated: Use SaveBankAccountReq.ProtoReflect.Descriptor instead.
func (*SaveBankAccountReq) GetDetail ¶
func (x *SaveBankAccountReq) GetDetail() *BankAccount
func (*SaveBankAccountReq) ProtoMessage ¶
func (*SaveBankAccountReq) ProtoMessage()
func (*SaveBankAccountReq) ProtoReflect ¶
func (x *SaveBankAccountReq) ProtoReflect() protoreflect.Message
func (*SaveBankAccountReq) Reset ¶
func (x *SaveBankAccountReq) Reset()
func (*SaveBankAccountReq) String ¶
func (x *SaveBankAccountReq) String() string
type SaveBankAccountRes ¶
type SaveBankAccountRes struct { Detail *BankAccount `protobuf:"bytes,1,opt,name=detail,proto3" json:"detail"` // contains filtered or unexported fields }
func (*SaveBankAccountRes) Descriptor
deprecated
func (*SaveBankAccountRes) Descriptor() ([]byte, []int)
Deprecated: Use SaveBankAccountRes.ProtoReflect.Descriptor instead.
func (*SaveBankAccountRes) GetDetail ¶
func (x *SaveBankAccountRes) GetDetail() *BankAccount
func (*SaveBankAccountRes) ProtoMessage ¶
func (*SaveBankAccountRes) ProtoMessage()
func (*SaveBankAccountRes) ProtoReflect ¶
func (x *SaveBankAccountRes) ProtoReflect() protoreflect.Message
func (*SaveBankAccountRes) Reset ¶
func (x *SaveBankAccountRes) Reset()
func (*SaveBankAccountRes) String ¶
func (x *SaveBankAccountRes) String() string
Click to show internal directories.
Click to hide internal directories.