paypay

package
v0.0.0-...-cfe9eea Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EntryTranPaypayArgs

type EntryTranPaypayArgs struct {
	ShopID   string      `json:"shopID"`
	ShopPass string      `json:"shopPass"`
	OrderID  string      `json:"orderID"`
	JobCd    gmopg.JobCd `json:"jobCd"`
	Amount   int         `json:"amount"`
	Tax      int         `json:"tax"`
}

type EntryTranPaypayResult

type EntryTranPaypayResult struct {
	Error      gmopg.ErrorResults
	AccessID   string `json:"accessID"`
	AccessPass string `json:"accessPass"`
}

type ErrorSt

type ErrorSt struct {
	ErrCode []string `form:"ErrCode"`
	ErrInfo []string `form:"ErrInfo"`
}

type ExecTranPaypayArgs

type ExecTranPaypayArgs struct {
	ShopID         string `json:"shopID"`
	ShopPass       string `json:"shopPass"`
	AccessID       string `json:"accessID"`
	AccessPass     string `json:"accessPass"`
	OrderID        string `json:"orderID"`
	RetURL         string `json:"retURL"`
	PaymentTermSec int    `json:"paymentTermSec"`
	TransitionType int    `json:"transitionType"`
}

type ExecTranPaypayResult

type ExecTranPaypayResult struct {
	Error          gmopg.ErrorResults
	AccessID       string `json:"accessID"`
	Token          string `json:"token"`
	StartURL       string `json:"startUrl"`
	StartLimitDate string `json:"startLimitDate"`
}

type Paypay

type Paypay struct {
	gmopg.GMOPG
}

func NewPaypayClient

func NewPaypayClient(g gmopg.GMOPG) Paypay

func (Paypay) EntryTranPaypay

func (p Paypay) EntryTranPaypay(args *EntryTranPaypayArgs) (*EntryTranPaypayResult, error)

func (Paypay) ExecTranPaypay

func (p Paypay) ExecTranPaypay(args *ExecTranPaypayArgs) (*ExecTranPaypayResult, error)

func (Paypay) SearchTradeMulti

func (p Paypay) SearchTradeMulti(args *SearchTradeMultiArgs) (*SearchTradeMultiResult, error)

only idPass version

type SearchTradeMultiArgs

type SearchTradeMultiArgs struct {
	ShopID   string `form:"ShopID"`
	ShopPass string `form:"ShopPass"`
	OrderID  string `form:"OrderID"`
	PayType  int    `form:"PayType"`
}

type SearchTradeMultiResult

type SearchTradeMultiResult struct {
	Error              gmopg.ErrorResults
	Status             string `form:"Status"`
	ProcessDate        string `form:"ProcessDate"`
	JobCd              string `form:"JobCd"`
	AccessID           string `form:"AccessID"`
	AccessPass         string `form:"AccessPass"`
	Amount             string `form:"Amount"`
	Tax                string `form:"Tax"`
	PayType            string `form:"PayType"`
	PayPayCancelAmount string `form:"PayPayCancelAmount"`
	PayPayCancelTax    string `form:"PayPayCancelTax"`
	PayPayTrackingID   string `form:"PayPayTrackingID"`
	PayPayAcceptCode   string `form:"PayPayAcceptCode"`
	PayPayOrderID      string `form:"PayPayOrderID"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL