paddle

package
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 License: AGPL-3.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PaddleResponse

type PaddleResponse struct {
	IsSuccess bool            `json:"success"`
	Response  json.RawMessage `json:"response"`
	Error     struct {
		Code    int    `json:"code"`
		Message string `json:"message"`
	}
}

type PaddleSubscriptionItem

type PaddleSubscriptionItem struct {
	SignupDate         string `json:"signup_date"`
	UpdateURL          string `json:"update_url"`
	CancelURL          string `json:"cancel_url"`
	PaymentInformation struct {
		PaymentMethod  string `json:"payment_method"`
		CardType       string `json:"card_type"`
		LastFourDigits string `json:"last_four_digits"`
		ExpiryDate     string `json:"expiry_date"`
	} `json:"payment_information"`
	LastPayment struct {
		Amount   float64 `json:"amount"`
		Currency string  `json:"currency"`
		Date     string  `json:"date"`
	} `json:"last_payment"`
}

type Service

type Service struct{}

func (Service) Category

func (s Service) Category() string

func (Service) Enabled

func (s Service) Enabled() bool

func (Service) Init

func (s Service) Init()

func (Service) Name

func (s Service) Name() string

Jump to

Keyboard shortcuts

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