Documentation ¶
Index ¶
- type ConfirmMessage
- type Controller
- func (ctr *Controller) CreateGroupId() func(ctx iris.Context)
- func (ctr *Controller) ExecutePayment() func(ctx iris.Context)
- func (ctr *Controller) GetGroupId() func(ctx iris.Context)
- func (ctr *Controller) LinepayConfirm() func(ctx iris.Context)
- func (ctr *Controller) LinepayReserve() func(ctx iris.Context)
- type LinePayConfirmResponse
- type LinePayReserveResponse
- type Message
- type Payment
- type PaymentError
- type PaymentInfo
- type ReserveMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfirmMessage ¶
type Controller ¶
func NewController ¶
func (*Controller) CreateGroupId ¶
func (ctr *Controller) CreateGroupId() func(ctx iris.Context)
TODO: 決済が終了していない場合のチェック機能
func (*Controller) ExecutePayment ¶
func (ctr *Controller) ExecutePayment() func(ctx iris.Context)
ExecutePayment ...
func (*Controller) GetGroupId ¶
func (ctr *Controller) GetGroupId() func(ctx iris.Context)
func (*Controller) LinepayConfirm ¶
func (ctr *Controller) LinepayConfirm() func(ctx iris.Context)
LinepayConfirm ...
func (*Controller) LinepayReserve ¶
func (ctr *Controller) LinepayReserve() func(ctx iris.Context)
LinepayReserve ...
type LinePayConfirmResponse ¶
type LinePayConfirmResponse struct { Err interface{} `json:"error"` Message *ConfirmMessage `json:"message, omitempty"` }
type LinePayReserveResponse ¶
type LinePayReserveResponse struct { Err interface{} `json:"error"` Message *ReserveMessage `json:"message,omitempty"` }
type Message ¶
type Message struct { CustomerID string Amount int `json:"amount"` Currency string Description string ChargeID string }
Message ...
type PaymentError ¶
PaymentError ...
Click to show internal directories.
Click to hide internal directories.