data

package
v0.0.0-...-1551971 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2021 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddCardRequest

type AddCardRequest struct {
	CardNumber  string `json:"card_number"`
	ExpireMonth string `json:"expire_month"`
	ExpireYear  string `json:"expire_year"`
	CVC         string `json:"cvc"`
}

AddCardRequest --

type AddCardResponse

type AddCardResponse struct {
	Status  int64  `json:"status"`
	Message string `json:"message,omitempty"`
}

AddCardResponse --

type PurchaseData

type PurchaseData struct {
	TransactionID string `json:"transaction_id"`
}

type PurchaseResponse

type PurchaseResponse struct {
	Status  int64         `json:"status"`
	Data    *PurchaseData `json:"data,omitempty"`
	Message string        `json:"message,omitempty"`
}

PurchaseResponse --

Jump to

Keyboard shortcuts

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