Documentation ¶
Index ¶
- Constants
- func StartEblServer(log *zap.Logger, isTest bool, pwd string, dbOpt *config.DBOptions, ...)
- type ConsignmentItemService
- func (cis *ConsignmentItemService) CrConsignmentItemStruct(ctx context.Context, consignmentItem *eblproto.ConsignmentItem, ...) (*eblstruct.ConsignmentItem, error)
- func (cis *ConsignmentItemService) CreateCargoItem(ctx context.Context, in *eblproto.CreateCargoItemRequest) (*eblproto.CargoItem, error)
- func (cis *ConsignmentItemService) CreateConsignmentItem(ctx context.Context, in *eblproto.CreateConsignmentItemRequest) (*eblproto.CreateConsignmentItemResponse, error)
- func (cis *ConsignmentItemService) CreateConsignmentItemsByShippingInstructionIdAndTOs(ctx context.Context, ...) (*eblproto.CreateConsignmentItemsByShippingInstructionIdAndTOsResponse, error)
- func (cis *ConsignmentItemService) FetchConsignmentItemsTOByShippingInstructionId(ctx context.Context, ...) (*eblproto.FetchConsignmentItemsTOByShippingInstructionIdResponse, error)
- func (cis *ConsignmentItemService) ProcessCargoItemRequest(ctx context.Context, in *eblproto.CreateCargoItemRequest) (*eblproto.CargoItem, error)
- func (cis *ConsignmentItemService) ProcessCargoLineItemRequest(ctx context.Context, in *eblproto.CreateCargoLineItemRequest) (*eblproto.CargoLineItem, error)
- func (cis *ConsignmentItemService) ProcessConsignmentItemRequest(ctx context.Context, in *eblproto.CreateConsignmentItemRequest) (*eblproto.ConsignmentItem, error)
- func (cis *ConsignmentItemService) ProcessConsignmentItemRequestFromShippingInstructionID(ctx context.Context, in *eblproto.CreateConsignmentItemRequest) (*eblproto.ConsignmentItem, error)
- func (cis *ConsignmentItemService) RemoveConsignmentItemsByShippingInstructionId(ctx context.Context, ...) (*eblproto.RemoveConsignmentItemsByShippingInstructionIdResponse, error)
- type IssueRequestResponseService
- func (is *IssueRequestResponseService) CrIssuanceRequestResponseStruct(ctx context.Context, issuanceRequestResponse *eblproto.IssuanceRequestResponse, ...) (*eblstruct.IssuanceRequestResponse, error)
- func (is *IssueRequestResponseService) CreateIssuanceRequestResponse(ctx context.Context, in *eblproto.CreateIssuanceRequestResponseRequest) (*eblproto.CreateIssuanceRequestResponseResponse, error)
- func (is *IssueRequestResponseService) UpdateIssuanceRequestResponse(ctx context.Context, in *eblproto.UpdateIssuanceRequestResponseRequest) (*eblproto.UpdateIssuanceRequestResponseResponse, error)
- type IssueRequestService
- func (is *IssueRequestService) CrEblVisualizationStruct(ctx context.Context, eblVisualization *eblproto.EblVisualization, ...) (*eblstruct.EblVisualization, error)
- func (is *IssueRequestService) CrIssuanceRequestStruct(ctx context.Context, issuanceRequest *eblproto.IssuanceRequest, ...) (*eblstruct.IssuanceRequest, error)
- func (is *IssueRequestService) CrIssuePartyStruct(ctx context.Context, issueParty *eblproto.IssueParty, userEmail string, ...) (*eblstruct.IssueParty, error)
- func (is *IssueRequestService) CrIssuePartySupportingCodeStruct(ctx context.Context, ...) (*eblstruct.IssuePartySupportingCode, error)
- func (is *IssueRequestService) CreateEblVisualization(ctx context.Context, in *eblproto.CreateEblVisualizationRequest) (*eblproto.CreateEblVisualizationResponse, error)
- func (is *IssueRequestService) CreateIssuanceRequest(ctx context.Context, in *eblproto.CreateIssuanceRequestRequest) (*eblproto.CreateIssuanceRequestResponse, error)
- func (is *IssueRequestService) CreateIssueParty(ctx context.Context, in *eblproto.CreateIssuePartyRequest) (*eblproto.CreateIssuePartyResponse, error)
- func (is *IssueRequestService) CreateIssuePartySupportingCode(ctx context.Context, in *eblproto.CreateIssuePartySupportingCodeRequest) (*eblproto.CreateIssuePartySupportingCodeResponse, error)
- func (is *IssueRequestService) GetIssueParties(ctx context.Context, in *eblproto.GetIssuePartiesRequest) (*eblproto.GetIssuePartiesResponse, error)
- func (is *IssueRequestService) GetIssueParty(ctx context.Context, inReq *eblproto.GetIssuePartyRequest) (*eblproto.GetIssuePartyResponse, error)
- func (is *IssueRequestService) GetIssuePartyByPk(ctx context.Context, inReq *eblproto.GetIssuePartyByPkRequest) (*eblproto.GetIssuePartyByPkResponse, error)
- func (is *IssueRequestService) UpdateEblVisualization(ctx context.Context, in *eblproto.UpdateEblVisualizationRequest) (*eblproto.UpdateEblVisualizationResponse, error)
- func (is *IssueRequestService) UpdateIssuanceRequest(ctx context.Context, in *eblproto.UpdateIssuanceRequestRequest) (*eblproto.UpdateIssuanceRequestResponse, error)
- func (is *IssueRequestService) UpdateIssueParty(ctx context.Context, in *eblproto.UpdateIssuePartyRequest) (*eblproto.UpdateIssuePartyResponse, error)
- func (is *IssueRequestService) UpdateIssuePartySupportingCode(ctx context.Context, in *eblproto.UpdateIssuePartySupportingCodeRequest) (*eblproto.UpdateIssuePartySupportingCodeResponse, error)
- type ShippingInstructionService
- func (sis *ShippingInstructionService) CreateShippingInstruction(ctx context.Context, in *eblproto.CreateShippingInstructionRequest) (*eblproto.CreateShippingInstructionResponse, error)
- func (sis *ShippingInstructionService) FindById(ctx context.Context, inReq *eblproto.FindByIdRequest) (*eblproto.FindByIdResponse, error)
- func (sis *ShippingInstructionService) FindByReference(ctx context.Context, in *eblproto.FindByReferenceRequest) (*eblproto.FindByReferenceResponse, error)
- func (sis *ShippingInstructionService) GetShippingInstructionByPk(ctx context.Context, inReq *eblproto.GetShippingInstructionByPkRequest) (*eblproto.GetShippingInstructionByPkResponse, error)
- func (sis *ShippingInstructionService) GetShippingInstructions(ctx context.Context, in *eblproto.GetShippingInstructionsRequest) (*eblproto.GetShippingInstructionsResponse, error)
- func (sis *ShippingInstructionService) UpdateShippingInstructionByShippingInstructionReference(ctx context.Context, ...) (*eblproto.UpdateShippingInstructionByShippingInstructionReferenceResponse, ...)
- type ShippingInstructionSummaryService
- func (sis *ShippingInstructionSummaryService) CreateShippingInstructionSummary(ctx context.Context, in *eblproto.CreateShippingInstructionSummaryRequest) (*eblproto.CreateShippingInstructionSummaryResponse, error)
- func (sis *ShippingInstructionSummaryService) GetShippingInstructionSummaries(ctx context.Context, in *eblproto.GetShippingInstructionSummariesRequest) (*eblproto.GetShippingInstructionSummariesResponse, error)
- type ShippingService
- func (ss *ShippingService) CrTransportStruct(ctx context.Context, transport *eblproto.Transport, userEmail string, ...) (*eblstruct.Transport, error)
- func (ss *ShippingService) CreateShipment(ctx context.Context, in *eblproto.CreateShipmentRequest) (*eblproto.CreateShipmentResponse, error)
- func (ss *ShippingService) CreateTransport(ctx context.Context, in *eblproto.CreateTransportRequest) (*eblproto.CreateTransportResponse, error)
- func (ss *ShippingService) FindCarrierBookingReferenceByShippingInstructionId(ctx context.Context, ...) (*eblproto.FindCarrierBookingReferenceByShippingInstructionIdResponse, error)
- func (ss *ShippingService) GetShipment(ctx context.Context, inReq *eblproto.GetShipmentRequest) (*eblproto.GetShipmentResponse, error)
- func (ss *ShippingService) GetShipmentByPk(ctx context.Context, inReq *eblproto.GetShipmentByPkRequest) (*eblproto.GetShipmentByPkResponse, error)
- func (ss *ShippingService) GetShipments(ctx context.Context, in *eblproto.GetShipmentsRequest) (*eblproto.GetShipmentsResponse, error)
- func (ss *ShippingService) GetTransport(ctx context.Context, inReq *eblproto.GetTransportRequest) (*eblproto.GetTransportResponse, error)
- func (ss *ShippingService) GetTransportByPk(ctx context.Context, inReq *eblproto.GetTransportByPkRequest) (*eblproto.GetTransportByPkResponse, error)
- func (ss *ShippingService) GetTransports(ctx context.Context, in *eblproto.GetTransportsRequest) (*eblproto.GetTransportsResponse, error)
- type SurrenderRequestAnswerService
- func (ss *SurrenderRequestAnswerService) CrSurrenderRequestAnswerStruct(ctx context.Context, surrenderRequestAnswer *eblproto.SurrenderRequestAnswer, ...) (*eblstruct.SurrenderRequestAnswer, error)
- func (ss *SurrenderRequestAnswerService) CreateSurrenderRequestAnswer(ctx context.Context, in *eblproto.CreateSurrenderRequestAnswerRequest) (*eblproto.CreateSurrenderRequestAnswerResponse, error)
- func (ss *SurrenderRequestAnswerService) UpdateSurrenderRequestAnswer(ctx context.Context, in *eblproto.UpdateSurrenderRequestAnswerRequest) (*eblproto.UpdateSurrenderRequestAnswerResponse, error)
- type SurrenderRequestService
- func (ss *SurrenderRequestService) CrEndorsementChainLinkStruct(ctx context.Context, endorsementChainLink *eblproto.EndorsementChainLink, ...) (*eblstruct.EndorsementChainLink, error)
- func (ss *SurrenderRequestService) CrSurrenderRequestStruct(ctx context.Context, surrenderRequest *eblproto.SurrenderRequest, ...) (*eblstruct.SurrenderRequest, error)
- func (ss *SurrenderRequestService) CrTransactionPartyStruct(ctx context.Context, transactionParty *eblproto.TransactionParty, ...) (*eblstruct.TransactionParty, error)
- func (ss *SurrenderRequestService) CrTransactionPartySupportingCodeStruct(ctx context.Context, ...) (*eblstruct.TransactionPartySupportingCode, error)
- func (ss *SurrenderRequestService) CreateEndorsementChainLink(ctx context.Context, in *eblproto.CreateEndorsementChainLinkRequest) (*eblproto.CreateEndorsementChainLinkResponse, error)
- func (ss *SurrenderRequestService) CreateSurrenderRequest(ctx context.Context, in *eblproto.CreateSurrenderRequestRequest) (*eblproto.CreateSurrenderRequestResponse, error)
- func (ss *SurrenderRequestService) CreateTransactionParty(ctx context.Context, in *eblproto.CreateTransactionPartyRequest) (*eblproto.CreateTransactionPartyResponse, error)
- func (ss *SurrenderRequestService) CreateTransactionPartySupportingCode(ctx context.Context, in *eblproto.CreateTransactionPartySupportingCodeRequest) (*eblproto.CreateTransactionPartySupportingCodeResponse, error)
- func (ss *SurrenderRequestService) GetTransactionParties(ctx context.Context, in *eblproto.GetTransactionPartiesRequest) (*eblproto.GetTransactionPartiesResponse, error)
- func (ss *SurrenderRequestService) GetTransactionParty(ctx context.Context, inReq *eblproto.GetTransactionPartyRequest) (*eblproto.GetTransactionPartyResponse, error)
- func (ss *SurrenderRequestService) GetTransactionPartyByPk(ctx context.Context, inReq *eblproto.GetTransactionPartyByPkRequest) (*eblproto.GetTransactionPartyByPkResponse, error)
- func (ss *SurrenderRequestService) UpdateEndorsementChainLink(ctx context.Context, in *eblproto.UpdateEndorsementChainLinkRequest) (*eblproto.UpdateEndorsementChainLinkResponse, error)
- func (ss *SurrenderRequestService) UpdateSurrenderRequest(ctx context.Context, in *eblproto.UpdateSurrenderRequestRequest) (*eblproto.UpdateSurrenderRequestResponse, error)
- func (ss *SurrenderRequestService) UpdateTransactionParty(ctx context.Context, in *eblproto.UpdateTransactionPartyRequest) (*eblproto.UpdateTransactionPartyResponse, error)
- func (ss *SurrenderRequestService) UpdateTransactionPartySupportingCode(ctx context.Context, in *eblproto.UpdateTransactionPartySupportingCodeRequest) (*eblproto.UpdateTransactionPartySupportingCodeResponse, error)
- type TransportDocumentService
- func (tds *TransportDocumentService) ApproveTransportDocument(ctx context.Context, in *eblproto.ApproveTransportDocumentRequest) (*eblproto.ApproveTransportDocumentResponse, error)
- func (tds *TransportDocumentService) CrTransportDocumentStruct(ctx context.Context, transportDocument *eblproto.TransportDocument, ...) (*eblstruct.TransportDocument, error)
- func (tds *TransportDocumentService) CrTransportDocumentSummaryStruct(ctx context.Context, ...) (*eblstruct.TransportDocumentSummary, error)
- func (tds *TransportDocumentService) CreateTransportDocument(ctx context.Context, in *eblproto.CreateTransportDocumentRequest) (*eblproto.CreateTransportDocumentResponse, error)
- func (tds *TransportDocumentService) CreateTransportDocumentFromShippingInstructionTO(ctx context.Context, ...) (*eblproto.CreateTransportDocumentFromShippingInstructionTOResponse, error)
- func (tds *TransportDocumentService) CreateTransportDocumentSummary(ctx context.Context, in *eblproto.CreateTransportDocumentSummaryRequest) (*eblproto.CreateTransportDocumentSummaryResponse, error)
- func (tds *TransportDocumentService) FindByTransportDocumentReference(ctx context.Context, in *eblproto.FindByTransportDocumentReferenceRequest) (*eblproto.FindByTransportDocumentReferenceResponse, error)
- func (tds *TransportDocumentService) FindTransportDocumentById(ctx context.Context, inReq *eblproto.FindTransportDocumentByIdRequest) (*eblproto.FindTransportDocumentByIdResponse, error)
- func (tds *TransportDocumentService) GetTransportDocumentByPk(ctx context.Context, inReq *eblproto.GetTransportDocumentByPkRequest) (*eblproto.GetTransportDocumentByPkResponse, error)
- func (tds *TransportDocumentService) GetTransportDocumentStruct(ctx context.Context, in *commonproto.GetRequest, ...) (*eblproto.TransportDocument, error)
- func (tds *TransportDocumentService) GetTransportDocumentSummaries(ctx context.Context, in *eblproto.GetTransportDocumentSummariesRequest) (*eblproto.GetTransportDocumentSummariesResponse, error)
- func (tds *TransportDocumentService) GetTransportDocumentSummaryByPk(ctx context.Context, inReq *eblproto.GetTransportDocumentSummaryByPkRequest) (*eblproto.GetTransportDocumentSummaryByPkResponse, error)
- func (tds *TransportDocumentService) GetTransportDocumentSummaryStruct(ctx context.Context, in *commonproto.GetRequest, ...) (*eblproto.TransportDocumentSummary, error)
- func (tds *TransportDocumentService) GetTransportDocuments(ctx context.Context, in *eblproto.GetTransportDocumentsRequest) (*eblproto.GetTransportDocumentsResponse, error)
Constants ¶
const InsertCargoItemSQL = `` /* 549-byte string literal not displayed */
InsertCargoItemSQL - Insert CargoItemSQL Query
const InsertCargoLineItemSQL = `` /* 309-byte string literal not displayed */
InsertCargoLineItemSQL - Insert CargoLineItemSQL Query
const InsertConsignmentItemSQL = `` /* 478-byte string literal not displayed */
InsertConsignmentItemSQL - Insert ConsignmentItemSQL Query
Variables ¶
This section is empty.
Functions ¶
func StartEblServer ¶
func StartEblServer(log *zap.Logger, isTest bool, pwd string, dbOpt *config.DBOptions, redisOpt *config.RedisOptions, mailerOpt *config.MailerOptions, grpcServerOpt *config.GrpcServerOptions, jwtOpt *config.JWTOptions, oauthOpt *config.OauthOptions, userOpt *config.UserOptions, uptraceOpt *config.UptraceOptions, dbService *common.DBService, redisService *common.RedisService, mailerService common.MailerIntf)
StartEblServer - Start Ebl server
Types ¶
type ConsignmentItemService ¶
type ConsignmentItemService struct { DBService *common.DBService RedisService *common.RedisService UserServiceClient partyproto.UserServiceClient eblproto.UnimplementedConsignmentItemServiceServer // contains filtered or unexported fields }
ConsignmentItemService - For accessing ConsignmentItem services
func NewConsignmentItemService ¶
func NewConsignmentItemService(log *zap.Logger, dbOpt *common.DBService, redisOpt *common.RedisService, userServiceClient partyproto.UserServiceClient) *ConsignmentItemService
NewConsignmentItemService - Create ConsignmentItem service
func (*ConsignmentItemService) CrConsignmentItemStruct ¶
func (cis *ConsignmentItemService) CrConsignmentItemStruct(ctx context.Context, consignmentItem *eblproto.ConsignmentItem, userEmail string, requestID string) (*eblstruct.ConsignmentItem, error)
CrConsignmentItemStruct - process ConsignmentItem details
func (*ConsignmentItemService) CreateCargoItem ¶
func (cis *ConsignmentItemService) CreateCargoItem(ctx context.Context, in *eblproto.CreateCargoItemRequest) (*eblproto.CargoItem, error)
CreateCargoItem - CreateCargoItem
func (*ConsignmentItemService) CreateConsignmentItem ¶
func (cis *ConsignmentItemService) CreateConsignmentItem(ctx context.Context, in *eblproto.CreateConsignmentItemRequest) (*eblproto.CreateConsignmentItemResponse, error)
CreateConsignmentItem - CreateConsignmentItem
func (*ConsignmentItemService) CreateConsignmentItemsByShippingInstructionIdAndTOs ¶
func (cis *ConsignmentItemService) CreateConsignmentItemsByShippingInstructionIdAndTOs(ctx context.Context, inReq *eblproto.CreateConsignmentItemsByShippingInstructionIdAndTOsRequest) (*eblproto.CreateConsignmentItemsByShippingInstructionIdAndTOsResponse, error)
CreateConsignmentItemsByShippingInstructionIdAndTOs - CreateConsignmentItemsByShippingInstructionIdAndTOs
func (*ConsignmentItemService) FetchConsignmentItemsTOByShippingInstructionId ¶
func (cis *ConsignmentItemService) FetchConsignmentItemsTOByShippingInstructionId(ctx context.Context, in *eblproto.FetchConsignmentItemsTOByShippingInstructionIdRequest) (*eblproto.FetchConsignmentItemsTOByShippingInstructionIdResponse, error)
FetchConsignmentItemsTOByShippingInstructionId - Get ConsignmentItemsTOByShippingInstructionID
func (*ConsignmentItemService) ProcessCargoItemRequest ¶
func (cis *ConsignmentItemService) ProcessCargoItemRequest(ctx context.Context, in *eblproto.CreateCargoItemRequest) (*eblproto.CargoItem, error)
ProcessCargoItemRequest - ProcessCargoItemRequest
func (*ConsignmentItemService) ProcessCargoLineItemRequest ¶
func (cis *ConsignmentItemService) ProcessCargoLineItemRequest(ctx context.Context, in *eblproto.CreateCargoLineItemRequest) (*eblproto.CargoLineItem, error)
ProcessCargoLineItemRequest - ProcessCargoLineItemRequest
func (*ConsignmentItemService) ProcessConsignmentItemRequest ¶
func (cis *ConsignmentItemService) ProcessConsignmentItemRequest(ctx context.Context, in *eblproto.CreateConsignmentItemRequest) (*eblproto.ConsignmentItem, error)
ProcessConsignmentItemRequest - ProcessConsignmentItemRequest
func (*ConsignmentItemService) ProcessConsignmentItemRequestFromShippingInstructionID ¶
func (cis *ConsignmentItemService) ProcessConsignmentItemRequestFromShippingInstructionID(ctx context.Context, in *eblproto.CreateConsignmentItemRequest) (*eblproto.ConsignmentItem, error)
ProcessConsignmentItemRequestFromShippingInstructionID - ProcessConsignmentItemRequestFromShippingInstructionID
func (*ConsignmentItemService) RemoveConsignmentItemsByShippingInstructionId ¶
func (cis *ConsignmentItemService) RemoveConsignmentItemsByShippingInstructionId(ctx context.Context, in *eblproto.RemoveConsignmentItemsByShippingInstructionIdRequest) (*eblproto.RemoveConsignmentItemsByShippingInstructionIdResponse, error)
RemoveConsignmentItemsByShippingInstructionId - RemoveConsignmentItemsByShippingInstructionId
type IssueRequestResponseService ¶
type IssueRequestResponseService struct { DBService *common.DBService RedisService *common.RedisService UserServiceClient partyproto.UserServiceClient eblproto.UnimplementedIssueRequestResponseServiceServer // contains filtered or unexported fields }
IssueRequestResponseService - For accessing Issuance services
func NewIssueRequestResponseService ¶
func NewIssueRequestResponseService(log *zap.Logger, dbOpt *common.DBService, redisOpt *common.RedisService, userServiceClient partyproto.UserServiceClient) *IssueRequestResponseService
NewIssueRequestResponseService - Create Shipping service
func (*IssueRequestResponseService) CrIssuanceRequestResponseStruct ¶
func (is *IssueRequestResponseService) CrIssuanceRequestResponseStruct(ctx context.Context, issuanceRequestResponse *eblproto.IssuanceRequestResponse, userEmail string, requestID string) (*eblstruct.IssuanceRequestResponse, error)
CrIssuanceRequestResponseStruct - process IssuanceRequestResponse details
func (*IssueRequestResponseService) CreateIssuanceRequestResponse ¶
func (is *IssueRequestResponseService) CreateIssuanceRequestResponse(ctx context.Context, in *eblproto.CreateIssuanceRequestResponseRequest) (*eblproto.CreateIssuanceRequestResponseResponse, error)
CreateIssuanceRequestResponse - Create IssuanceRequestResponse
func (*IssueRequestResponseService) UpdateIssuanceRequestResponse ¶
func (is *IssueRequestResponseService) UpdateIssuanceRequestResponse(ctx context.Context, in *eblproto.UpdateIssuanceRequestResponseRequest) (*eblproto.UpdateIssuanceRequestResponseResponse, error)
UpdateIssuanceRequestResponse - Update IssuanceRequestResponse
type IssueRequestService ¶
type IssueRequestService struct { DBService *common.DBService RedisService *common.RedisService UserServiceClient partyproto.UserServiceClient eblproto.UnimplementedIssueRequestServiceServer // contains filtered or unexported fields }
IssueRequestService - For accessing Issuance services
func NewIssueRequestService ¶
func NewIssueRequestService(log *zap.Logger, dbOpt *common.DBService, redisOpt *common.RedisService, userServiceClient partyproto.UserServiceClient) *IssueRequestService
NewIssueRequestService - Create Shipping service
func (*IssueRequestService) CrEblVisualizationStruct ¶
func (is *IssueRequestService) CrEblVisualizationStruct(ctx context.Context, eblVisualization *eblproto.EblVisualization, userEmail string, requestID string) (*eblstruct.EblVisualization, error)
CrEblVisualizationStruct - process EblVisualization details
func (*IssueRequestService) CrIssuanceRequestStruct ¶
func (is *IssueRequestService) CrIssuanceRequestStruct(ctx context.Context, issuanceRequest *eblproto.IssuanceRequest, userEmail string, requestID string) (*eblstruct.IssuanceRequest, error)
CrIssuanceRequestStruct - process IssuanceRequest details
func (*IssueRequestService) CrIssuePartyStruct ¶
func (is *IssueRequestService) CrIssuePartyStruct(ctx context.Context, issueParty *eblproto.IssueParty, userEmail string, requestID string) (*eblstruct.IssueParty, error)
CrIssuePartyStruct - process IssueParty details
func (*IssueRequestService) CrIssuePartySupportingCodeStruct ¶
func (is *IssueRequestService) CrIssuePartySupportingCodeStruct(ctx context.Context, issuePartySupportingCode *eblproto.IssuePartySupportingCode, userEmail string, requestID string) (*eblstruct.IssuePartySupportingCode, error)
CrIssuePartySupportingCodeStruct - process IssuePartySupportingCode details
func (*IssueRequestService) CreateEblVisualization ¶
func (is *IssueRequestService) CreateEblVisualization(ctx context.Context, in *eblproto.CreateEblVisualizationRequest) (*eblproto.CreateEblVisualizationResponse, error)
CreateEblVisualization - Create EblVisualization
func (*IssueRequestService) CreateIssuanceRequest ¶
func (is *IssueRequestService) CreateIssuanceRequest(ctx context.Context, in *eblproto.CreateIssuanceRequestRequest) (*eblproto.CreateIssuanceRequestResponse, error)
CreateIssuanceRequest - Create IssuanceRequest
func (*IssueRequestService) CreateIssueParty ¶
func (is *IssueRequestService) CreateIssueParty(ctx context.Context, in *eblproto.CreateIssuePartyRequest) (*eblproto.CreateIssuePartyResponse, error)
CreateIssueParty - Create IssueParty
func (*IssueRequestService) CreateIssuePartySupportingCode ¶
func (is *IssueRequestService) CreateIssuePartySupportingCode(ctx context.Context, in *eblproto.CreateIssuePartySupportingCodeRequest) (*eblproto.CreateIssuePartySupportingCodeResponse, error)
CreateIssuePartySupportingCode - Create IssuePartySupportingCode
func (*IssueRequestService) GetIssueParties ¶
func (is *IssueRequestService) GetIssueParties(ctx context.Context, in *eblproto.GetIssuePartiesRequest) (*eblproto.GetIssuePartiesResponse, error)
GetIssueParties - Get IssueParties
func (*IssueRequestService) GetIssueParty ¶
func (is *IssueRequestService) GetIssueParty(ctx context.Context, inReq *eblproto.GetIssuePartyRequest) (*eblproto.GetIssuePartyResponse, error)
GetIssueParty - Get IssueParty
func (*IssueRequestService) GetIssuePartyByPk ¶
func (is *IssueRequestService) GetIssuePartyByPk(ctx context.Context, inReq *eblproto.GetIssuePartyByPkRequest) (*eblproto.GetIssuePartyByPkResponse, error)
GetIssuePartyByPk - Get IssueParty By Primary key(Id)
func (*IssueRequestService) UpdateEblVisualization ¶
func (is *IssueRequestService) UpdateEblVisualization(ctx context.Context, in *eblproto.UpdateEblVisualizationRequest) (*eblproto.UpdateEblVisualizationResponse, error)
UpdateEblVisualization - Update EblVisualization
func (*IssueRequestService) UpdateIssuanceRequest ¶
func (is *IssueRequestService) UpdateIssuanceRequest(ctx context.Context, in *eblproto.UpdateIssuanceRequestRequest) (*eblproto.UpdateIssuanceRequestResponse, error)
UpdateIssuanceRequest - Update IssuanceRequest
func (*IssueRequestService) UpdateIssueParty ¶
func (is *IssueRequestService) UpdateIssueParty(ctx context.Context, in *eblproto.UpdateIssuePartyRequest) (*eblproto.UpdateIssuePartyResponse, error)
UpdateIssueParty - Update IssueParty
func (*IssueRequestService) UpdateIssuePartySupportingCode ¶
func (is *IssueRequestService) UpdateIssuePartySupportingCode(ctx context.Context, in *eblproto.UpdateIssuePartySupportingCodeRequest) (*eblproto.UpdateIssuePartySupportingCodeResponse, error)
UpdateIssuePartySupportingCode - Update IssuePartySupportingCode
type ShippingInstructionService ¶
type ShippingInstructionService struct { DBService *common.DBService RedisService *common.RedisService UserServiceClient partyproto.UserServiceClient eblproto.UnimplementedShippingInstructionServiceServer // contains filtered or unexported fields }
ShippingInstructionService - For accessing Shipping Instruction services
func NewShippingInstructionService ¶
func NewShippingInstructionService(log *zap.Logger, dbOpt *common.DBService, redisOpt *common.RedisService, userServiceClient partyproto.UserServiceClient) *ShippingInstructionService
NewShippingInstructionService - Create Shipping Instruction service
func (*ShippingInstructionService) CreateShippingInstruction ¶
func (sis *ShippingInstructionService) CreateShippingInstruction(ctx context.Context, in *eblproto.CreateShippingInstructionRequest) (*eblproto.CreateShippingInstructionResponse, error)
CreateShippingInstruction - Create ShippingInstruction
func (*ShippingInstructionService) FindById ¶
func (sis *ShippingInstructionService) FindById(ctx context.Context, inReq *eblproto.FindByIdRequest) (*eblproto.FindByIdResponse, error)
FindById - Get FindById
func (*ShippingInstructionService) FindByReference ¶
func (sis *ShippingInstructionService) FindByReference(ctx context.Context, in *eblproto.FindByReferenceRequest) (*eblproto.FindByReferenceResponse, error)
FindByReference - Get FindByReference
func (*ShippingInstructionService) GetShippingInstructionByPk ¶
func (sis *ShippingInstructionService) GetShippingInstructionByPk(ctx context.Context, inReq *eblproto.GetShippingInstructionByPkRequest) (*eblproto.GetShippingInstructionByPkResponse, error)
GetShippingInstructionByPk - Get ShippingInstruction By Primary key(Id)
func (*ShippingInstructionService) GetShippingInstructions ¶
func (sis *ShippingInstructionService) GetShippingInstructions(ctx context.Context, in *eblproto.GetShippingInstructionsRequest) (*eblproto.GetShippingInstructionsResponse, error)
GetShippingInstructions - Get ShippingInstructions
func (*ShippingInstructionService) UpdateShippingInstructionByShippingInstructionReference ¶
func (sis *ShippingInstructionService) UpdateShippingInstructionByShippingInstructionReference(ctx context.Context, in *eblproto.UpdateShippingInstructionByShippingInstructionReferenceRequest) (*eblproto.UpdateShippingInstructionByShippingInstructionReferenceResponse, error)
UpdateShippingInstructionByShippingInstructionReference - UpdateShippingInstructionByShippingInstructionReference
type ShippingInstructionSummaryService ¶
type ShippingInstructionSummaryService struct { DBService *common.DBService RedisService *common.RedisService UserServiceClient partyproto.UserServiceClient eblproto.UnimplementedShippingInstructionSummaryServiceServer // contains filtered or unexported fields }
ShippingInstructionSummaryService - For accessing Shipping Instruction Summary services
func NewShippingInstructionSummaryService ¶
func NewShippingInstructionSummaryService(log *zap.Logger, dbOpt *common.DBService, redisOpt *common.RedisService, userServiceClient partyproto.UserServiceClient) *ShippingInstructionSummaryService
NewShippingInstructionSummaryService - Create Shipping Instruction Summary service
func (*ShippingInstructionSummaryService) CreateShippingInstructionSummary ¶
func (sis *ShippingInstructionSummaryService) CreateShippingInstructionSummary(ctx context.Context, in *eblproto.CreateShippingInstructionSummaryRequest) (*eblproto.CreateShippingInstructionSummaryResponse, error)
CreateShippingInstructionSummary - Create ShippingInstructionSummary
func (*ShippingInstructionSummaryService) GetShippingInstructionSummaries ¶
func (sis *ShippingInstructionSummaryService) GetShippingInstructionSummaries(ctx context.Context, in *eblproto.GetShippingInstructionSummariesRequest) (*eblproto.GetShippingInstructionSummariesResponse, error)
GetShippingInstructionSummaries - Get ShippingInstructionSummaries
type ShippingService ¶
type ShippingService struct { DBService *common.DBService RedisService *common.RedisService UserServiceClient partyproto.UserServiceClient eblproto.UnimplementedShippingServiceServer // contains filtered or unexported fields }
ShippingService - For accessing Shipping services
func NewShippingService ¶
func NewShippingService(log *zap.Logger, dbOpt *common.DBService, redisOpt *common.RedisService, userServiceClient partyproto.UserServiceClient) *ShippingService
NewShippingService - Create Shipping service
func (*ShippingService) CrTransportStruct ¶
func (ss *ShippingService) CrTransportStruct(ctx context.Context, transport *eblproto.Transport, userEmail string, requestID string) (*eblstruct.Transport, error)
CrTransportStruct - process Transport details
func (*ShippingService) CreateShipment ¶
func (ss *ShippingService) CreateShipment(ctx context.Context, in *eblproto.CreateShipmentRequest) (*eblproto.CreateShipmentResponse, error)
CreateShipment - Create Shipping
func (*ShippingService) CreateTransport ¶
func (ss *ShippingService) CreateTransport(ctx context.Context, in *eblproto.CreateTransportRequest) (*eblproto.CreateTransportResponse, error)
CreateTransport - Create Transport
func (*ShippingService) FindCarrierBookingReferenceByShippingInstructionId ¶
func (ss *ShippingService) FindCarrierBookingReferenceByShippingInstructionId(ctx context.Context, inReq *eblproto.FindCarrierBookingReferenceByShippingInstructionIdRequest) (*eblproto.FindCarrierBookingReferenceByShippingInstructionIdResponse, error)
FindCarrierBookingReferenceByShippingInstructionId - FindCarrierBookingReferenceByShippingInstructionId
func (*ShippingService) GetShipment ¶
func (ss *ShippingService) GetShipment(ctx context.Context, inReq *eblproto.GetShipmentRequest) (*eblproto.GetShipmentResponse, error)
GetShipment - Get Shipping
func (*ShippingService) GetShipmentByPk ¶
func (ss *ShippingService) GetShipmentByPk(ctx context.Context, inReq *eblproto.GetShipmentByPkRequest) (*eblproto.GetShipmentByPkResponse, error)
GetShipmentByPk - Get Shipping By Primary key(Id)
func (*ShippingService) GetShipments ¶
func (ss *ShippingService) GetShipments(ctx context.Context, in *eblproto.GetShipmentsRequest) (*eblproto.GetShipmentsResponse, error)
GetShipments - Get Shippings
func (*ShippingService) GetTransport ¶
func (ss *ShippingService) GetTransport(ctx context.Context, inReq *eblproto.GetTransportRequest) (*eblproto.GetTransportResponse, error)
GetTransport - Get Transport
func (*ShippingService) GetTransportByPk ¶
func (ss *ShippingService) GetTransportByPk(ctx context.Context, inReq *eblproto.GetTransportByPkRequest) (*eblproto.GetTransportByPkResponse, error)
GetTransportByPk - Get Transport By Primary key(Id)
func (*ShippingService) GetTransports ¶
func (ss *ShippingService) GetTransports(ctx context.Context, in *eblproto.GetTransportsRequest) (*eblproto.GetTransportsResponse, error)
GetTransports - Get Transports
type SurrenderRequestAnswerService ¶
type SurrenderRequestAnswerService struct { DBService *common.DBService RedisService *common.RedisService UserServiceClient partyproto.UserServiceClient eblproto.UnimplementedSurrenderRequestAnswerServiceServer // contains filtered or unexported fields }
SurrenderRequestAnswerService - For accessing Surrender services
func NewSurrenderRequestAnswerService ¶
func NewSurrenderRequestAnswerService(log *zap.Logger, dbOpt *common.DBService, redisOpt *common.RedisService, userServiceClient partyproto.UserServiceClient) *SurrenderRequestAnswerService
NewSurrenderRequestAnswerService - Create Shipping service
func (*SurrenderRequestAnswerService) CrSurrenderRequestAnswerStruct ¶
func (ss *SurrenderRequestAnswerService) CrSurrenderRequestAnswerStruct(ctx context.Context, surrenderRequestAnswer *eblproto.SurrenderRequestAnswer, userEmail string, requestID string) (*eblstruct.SurrenderRequestAnswer, error)
CrSurrenderRequestAnswerStruct - process SurrenderRequestAnswer details
func (*SurrenderRequestAnswerService) CreateSurrenderRequestAnswer ¶
func (ss *SurrenderRequestAnswerService) CreateSurrenderRequestAnswer(ctx context.Context, in *eblproto.CreateSurrenderRequestAnswerRequest) (*eblproto.CreateSurrenderRequestAnswerResponse, error)
CreateSurrenderRequestAnswer - Create SurrenderRequestAnswer
func (*SurrenderRequestAnswerService) UpdateSurrenderRequestAnswer ¶
func (ss *SurrenderRequestAnswerService) UpdateSurrenderRequestAnswer(ctx context.Context, in *eblproto.UpdateSurrenderRequestAnswerRequest) (*eblproto.UpdateSurrenderRequestAnswerResponse, error)
UpdateSurrenderRequestAnswer - Update SurrenderRequestAnswer
type SurrenderRequestService ¶
type SurrenderRequestService struct { DBService *common.DBService RedisService *common.RedisService UserServiceClient partyproto.UserServiceClient eblproto.UnimplementedSurrenderRequestServiceServer // contains filtered or unexported fields }
SurrenderRequestService - For accessing Surrender services
func NewSurrenderRequestService ¶
func NewSurrenderRequestService(log *zap.Logger, dbOpt *common.DBService, redisOpt *common.RedisService, userServiceClient partyproto.UserServiceClient) *SurrenderRequestService
NewSurrenderRequestService - Create Shipping service
func (*SurrenderRequestService) CrEndorsementChainLinkStruct ¶
func (ss *SurrenderRequestService) CrEndorsementChainLinkStruct(ctx context.Context, endorsementChainLink *eblproto.EndorsementChainLink, userEmail string, requestID string) (*eblstruct.EndorsementChainLink, error)
CrEndorsementChainLinkStruct - process EndorsementChainLink details
func (*SurrenderRequestService) CrSurrenderRequestStruct ¶
func (ss *SurrenderRequestService) CrSurrenderRequestStruct(ctx context.Context, surrenderRequest *eblproto.SurrenderRequest, userEmail string, requestID string) (*eblstruct.SurrenderRequest, error)
CrSurrenderRequestStruct - process SurrenderRequest details
func (*SurrenderRequestService) CrTransactionPartyStruct ¶
func (ss *SurrenderRequestService) CrTransactionPartyStruct(ctx context.Context, transactionParty *eblproto.TransactionParty, userEmail string, requestID string) (*eblstruct.TransactionParty, error)
CrTransactionPartyStruct - process TransactionParty details
func (*SurrenderRequestService) CrTransactionPartySupportingCodeStruct ¶
func (ss *SurrenderRequestService) CrTransactionPartySupportingCodeStruct(ctx context.Context, transactionPartySupportingCode *eblproto.TransactionPartySupportingCode, userEmail string, requestID string) (*eblstruct.TransactionPartySupportingCode, error)
CrTransactionPartySupportingCodeStruct - process TransactionPartySupportingCode details
func (*SurrenderRequestService) CreateEndorsementChainLink ¶
func (ss *SurrenderRequestService) CreateEndorsementChainLink(ctx context.Context, in *eblproto.CreateEndorsementChainLinkRequest) (*eblproto.CreateEndorsementChainLinkResponse, error)
CreateEndorsementChainLink - Create EndorsementChainLink
func (*SurrenderRequestService) CreateSurrenderRequest ¶
func (ss *SurrenderRequestService) CreateSurrenderRequest(ctx context.Context, in *eblproto.CreateSurrenderRequestRequest) (*eblproto.CreateSurrenderRequestResponse, error)
CreateSurrenderRequest - Create SurrenderRequest
func (*SurrenderRequestService) CreateTransactionParty ¶
func (ss *SurrenderRequestService) CreateTransactionParty(ctx context.Context, in *eblproto.CreateTransactionPartyRequest) (*eblproto.CreateTransactionPartyResponse, error)
CreateTransactionParty - Create TransactionParty
func (*SurrenderRequestService) CreateTransactionPartySupportingCode ¶
func (ss *SurrenderRequestService) CreateTransactionPartySupportingCode(ctx context.Context, in *eblproto.CreateTransactionPartySupportingCodeRequest) (*eblproto.CreateTransactionPartySupportingCodeResponse, error)
CreateTransactionPartySupportingCode - Create TransactionPartySupportingCode
func (*SurrenderRequestService) GetTransactionParties ¶
func (ss *SurrenderRequestService) GetTransactionParties(ctx context.Context, in *eblproto.GetTransactionPartiesRequest) (*eblproto.GetTransactionPartiesResponse, error)
GetTransactionParties - Get TransactionParties
func (*SurrenderRequestService) GetTransactionParty ¶
func (ss *SurrenderRequestService) GetTransactionParty(ctx context.Context, inReq *eblproto.GetTransactionPartyRequest) (*eblproto.GetTransactionPartyResponse, error)
GetTransactionParty - Get TransactionParty
func (*SurrenderRequestService) GetTransactionPartyByPk ¶
func (ss *SurrenderRequestService) GetTransactionPartyByPk(ctx context.Context, inReq *eblproto.GetTransactionPartyByPkRequest) (*eblproto.GetTransactionPartyByPkResponse, error)
GetTransactionPartyByPk - Get TransactionParty By Primary key(Id)
func (*SurrenderRequestService) UpdateEndorsementChainLink ¶
func (ss *SurrenderRequestService) UpdateEndorsementChainLink(ctx context.Context, in *eblproto.UpdateEndorsementChainLinkRequest) (*eblproto.UpdateEndorsementChainLinkResponse, error)
UpdateEndorsementChainLink - Update EndorsementChainLink
func (*SurrenderRequestService) UpdateSurrenderRequest ¶
func (ss *SurrenderRequestService) UpdateSurrenderRequest(ctx context.Context, in *eblproto.UpdateSurrenderRequestRequest) (*eblproto.UpdateSurrenderRequestResponse, error)
UpdateSurrenderRequest - Update SurrenderRequest
func (*SurrenderRequestService) UpdateTransactionParty ¶
func (ss *SurrenderRequestService) UpdateTransactionParty(ctx context.Context, in *eblproto.UpdateTransactionPartyRequest) (*eblproto.UpdateTransactionPartyResponse, error)
UpdateTransactionParty - Update TransactionParty
func (*SurrenderRequestService) UpdateTransactionPartySupportingCode ¶
func (ss *SurrenderRequestService) UpdateTransactionPartySupportingCode(ctx context.Context, in *eblproto.UpdateTransactionPartySupportingCodeRequest) (*eblproto.UpdateTransactionPartySupportingCodeResponse, error)
UpdateTransactionPartySupportingCode - Update TransactionPartySupportingCode
type TransportDocumentService ¶
type TransportDocumentService struct { DBService *common.DBService RedisService *common.RedisService UserServiceClient partyproto.UserServiceClient eblproto.UnimplementedTransportDocumentServiceServer // contains filtered or unexported fields }
TransportDocumentService - For accessing Transport Document services
func NewTransportDocumentService ¶
func NewTransportDocumentService(log *zap.Logger, dbOpt *common.DBService, redisOpt *common.RedisService, userServiceClient partyproto.UserServiceClient) *TransportDocumentService
NewTransportDocumentService - Create Transport Document service
func (*TransportDocumentService) ApproveTransportDocument ¶
func (tds *TransportDocumentService) ApproveTransportDocument(ctx context.Context, in *eblproto.ApproveTransportDocumentRequest) (*eblproto.ApproveTransportDocumentResponse, error)
ApproveTransportDocument - Approve TransportDocument
func (*TransportDocumentService) CrTransportDocumentStruct ¶
func (tds *TransportDocumentService) CrTransportDocumentStruct(ctx context.Context, transportDocument *eblproto.TransportDocument, userEmail string, requestID string) (*eblstruct.TransportDocument, error)
CrTransportDocumentStruct - process TransportDocument details
func (*TransportDocumentService) CrTransportDocumentSummaryStruct ¶
func (tds *TransportDocumentService) CrTransportDocumentSummaryStruct(ctx context.Context, transportDocumentSummary *eblproto.TransportDocumentSummary, userEmail string, requestID string) (*eblstruct.TransportDocumentSummary, error)
CrTransportDocumentSummaryStruct - process TransportDocumentSummary details
func (*TransportDocumentService) CreateTransportDocument ¶
func (tds *TransportDocumentService) CreateTransportDocument(ctx context.Context, in *eblproto.CreateTransportDocumentRequest) (*eblproto.CreateTransportDocumentResponse, error)
CreateTransportDocument - Create TransportDocument
func (*TransportDocumentService) CreateTransportDocumentFromShippingInstructionTO ¶
func (tds *TransportDocumentService) CreateTransportDocumentFromShippingInstructionTO(ctx context.Context, inReq *eblproto.CreateTransportDocumentFromShippingInstructionTORequest) (*eblproto.CreateTransportDocumentFromShippingInstructionTOResponse, error)
CreateTransportDocumentFromShippingInstructionTO - Create TransportDocumentFromShippingInstructionTO
func (*TransportDocumentService) CreateTransportDocumentSummary ¶
func (tds *TransportDocumentService) CreateTransportDocumentSummary(ctx context.Context, in *eblproto.CreateTransportDocumentSummaryRequest) (*eblproto.CreateTransportDocumentSummaryResponse, error)
CreateTransportDocumentSummary - Create TransportDocumentSummary
func (*TransportDocumentService) FindByTransportDocumentReference ¶
func (tds *TransportDocumentService) FindByTransportDocumentReference(ctx context.Context, in *eblproto.FindByTransportDocumentReferenceRequest) (*eblproto.FindByTransportDocumentReferenceResponse, error)
FindByTransportDocumentReference - Find By TransportDocumentReference
func (*TransportDocumentService) FindTransportDocumentById ¶
func (tds *TransportDocumentService) FindTransportDocumentById(ctx context.Context, inReq *eblproto.FindTransportDocumentByIdRequest) (*eblproto.FindTransportDocumentByIdResponse, error)
FindTransportDocumentById - FindTransportDocumentById
func (*TransportDocumentService) GetTransportDocumentByPk ¶
func (tds *TransportDocumentService) GetTransportDocumentByPk(ctx context.Context, inReq *eblproto.GetTransportDocumentByPkRequest) (*eblproto.GetTransportDocumentByPkResponse, error)
GetTransportDocumentByPk - Get TransportDocument By Primary key(Id)
func (*TransportDocumentService) GetTransportDocumentStruct ¶
func (tds *TransportDocumentService) GetTransportDocumentStruct(ctx context.Context, in *commonproto.GetRequest, transportDocumentTmp eblstruct.TransportDocument) (*eblproto.TransportDocument, error)
GetTransportDocumentStruct - Get TransportDocument header
func (*TransportDocumentService) GetTransportDocumentSummaries ¶
func (tds *TransportDocumentService) GetTransportDocumentSummaries(ctx context.Context, in *eblproto.GetTransportDocumentSummariesRequest) (*eblproto.GetTransportDocumentSummariesResponse, error)
GetTransportDocumentSummaries - Get TransportDocumentSummaries
func (*TransportDocumentService) GetTransportDocumentSummaryByPk ¶
func (tds *TransportDocumentService) GetTransportDocumentSummaryByPk(ctx context.Context, inReq *eblproto.GetTransportDocumentSummaryByPkRequest) (*eblproto.GetTransportDocumentSummaryByPkResponse, error)
GetTransportDocumentSummaryByPk - Get TransportDocumentSummary By Primary key(Id)
func (*TransportDocumentService) GetTransportDocumentSummaryStruct ¶
func (tds *TransportDocumentService) GetTransportDocumentSummaryStruct(ctx context.Context, in *commonproto.GetRequest, transportDocumentSummaryTmp eblstruct.TransportDocumentSummary) (*eblproto.TransportDocumentSummary, error)
GetTransportDocumentSummaryStruct - Get TransportDocumentSummary header
func (*TransportDocumentService) GetTransportDocuments ¶
func (tds *TransportDocumentService) GetTransportDocuments(ctx context.Context, in *eblproto.GetTransportDocumentsRequest) (*eblproto.GetTransportDocumentsResponse, error)
GetTransportDocuments - Get TransportDocuments
Source Files ¶
- cargo_item_service.go
- consignment_item_service.go
- issue_request_response_service.go
- issue_request_service.go
- shipping_instruction_service.go
- shipping_instruction_summary_service.go
- shipping_service.go
- surrender_request_answer_service.go
- surrender_request_service.go
- transport_document_service.go
- transport_document_summary_service.go
- transport_service.go