Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AccountApiServiceInfo = newAccountApiServiceInfo()
View Source
var PaymentApiServiceInfo = newPaymentApiServiceInfo()
View Source
var WarehouseApiServiceInfo = newWarehouseServiceInfo()
Functions ¶
This section is empty.
Types ¶
type AccountApi ¶
type AccountApi interface { GetAccount(ctx context.Context, username *domain.GetAccountRequest) (r *domain.GetAccountResponse, err error) CreateAccount(ctx context.Context, account *domain.ChangeAccountRequest) (r *domain.ChangeAccountResponse, err error) UpdateAccount(ctx context.Context, account *domain.ChangeAccountRequest) (r *domain.ChangeAccountResponse, err error) }
type PaymentApi ¶
type PaymentApi interface { ExecuteSettlement(ctx context.Context, req *domain.ExecuteSettlementRequest) (res *domain.ExecuteSettlementResponse, err error) UpdatePaymentState(ctx context.Context, req *domain.UpdatePaymentStateRequest) (res *domain.Empty, err error) UpdatePaymentStateAlias(ctx context.Context, req *domain.UpdatePaymentStateAlias) (res *domain.Empty, err error) }
type WarehouseApi ¶
type WarehouseApi interface { GetAllAdvertisements(ctx context.Context, req *domain.Empty) (res *domain.GetAllAdvertisementsResponse, err error) GetAllProducts(ctx context.Context, req *domain.Empty) (res *domain.GetAllProductResponse, err error) GetProduct(ctx context.Context, req *domain.GetProductRequest) (res *domain.GetProductResponse, err error) CreateProduct(ctx context.Context, req *domain.ChangeProductRequest) (res *domain.Empty, err error) UpdateProduct(ctx context.Context, req *domain.ChangeProductRequest) (res *domain.Empty, err error) RemoveProduct(ctx context.Context, req *domain.RemoveProductRequest) (res *domain.Empty, err error) UpdateStockpile(ctx context.Context, req *domain.UpdateStockpileRequest) (res *domain.Empty, err error) QueryStockpile(ctx context.Context, req *domain.QueryStockpileRequest) (res *domain.QueryStockpileResponse, err error) SetDeliveredStatus(ctx context.Context, req *domain.SetDeliveredStatusRequest) (res *domain.Empty, err error) }
Click to show internal directories.
Click to hide internal directories.