response

package
v3.1.27 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Certificate

type Certificate struct {
	SerialNo           string    `json:"serial_no"`
	EffectiveTime      time.Time `json:"effective_time "`
	ExpireTime         time.Time `json:"expire_time "`
	EncryptCertificate struct {
		Algorithm      string `json:"algorithm"`
		Nonce          string `json:"nonce"`
		AssociatedData string `json:"associated_data"`
		Ciphertext     string `json:"ciphertext"`
	} `json:"encrypt_certificate"`
}

type ResponseGetCertificates

type ResponseGetCertificates struct {
	Data []*Certificate `json:"data"`
}

type ResponseGetPublicKey

type ResponseGetPublicKey struct {
	response.ResponsePayment

	MchID  string `xml:"mch_id"`
	PubKey string `xml:"pub_key"`
}

Jump to

Keyboard shortcuts

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