Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMidtransRESTful ¶
func NewMidtransRESTful() delivery.MidtransRESTful
func NewShipperRESTful ¶
func NewShipperRESTful() delivery.ShipperRESTful
Types ¶
type MidtransRESTfulImpl ¶
type MidtransRESTfulImpl struct{}
func (*MidtransRESTfulImpl) Transaction ¶
func (m *MidtransRESTfulImpl) Transaction(ctx context.Context, data *dto.TransactionReq) (*dto.MidtransTxRes, error)
type ShipperRESTfulImpl ¶
type ShipperRESTfulImpl struct{}
func (*ShipperRESTfulImpl) ShippingOrder ¶
func (s *ShipperRESTfulImpl) ShippingOrder(ctx context.Context, data *entity.OrderWithProducts) (shippingId string, err error)
Click to show internal directories.
Click to hide internal directories.