Versions in this module Expand all Collapse all v1 v1.0.0 Jan 25, 2021 Changes in this version + func New(baseUrl string, apiKey string, merchantId string, merchantSecret string, ...) *cicil + type Buyer struct + Address string + City string + Company string + Country string + District string + Email string + Fullname string + Phone string + PostalCode string + type CancelOrderRequest struct + CancelledBy string + PONumber string + Reason string + TotalAmount int + TransactionID string + type CancelOrderResponse struct + Message string + Status string + type CheckoutRequest struct + BackURL string + Buyer Buyer + PushURL string + RedirectURL string + SellerList []SellerList + Shipment Shipment + Transaction Transaction + type CheckoutResponse struct + Message string + PoNumber string + Status string + Url string + type CicilService interface + GetCheckoutURL func(param CheckoutRequest) (resp CheckoutResponse, err error) + GetToken func() (digest string, dateNowReturn string) + SetCancelOrder func(param CancelOrderRequest) (resp CancelOrderResponse, err error) + UpdateStatus func(param UpdateStatusRequest) (resp UpdateStatusResponse, err error) + type ItemList struct + Category string + ItemID string + Name string + Price int + Quantity int + SellerID string + Type string + Url string + type SellerList struct + Email string + Name string + Phone string + Url string + type Shipment struct + Address string + City string + Company string + Country string + District string + Name string + Phone string + PostalCode string + ShipmentPrice int + ShipmentProvider string + ShipmentTax int + type Transaction struct + ItemLists []ItemList + TotalAmount int + TransactionID string + type UpdateStatusRequest struct + PONumber string + POStatus string + Reason string + Shipment Shipment + TransactionID string + type UpdateStatusResponse struct + Message string + Status string