playstore

package module
v0.0.0-...-ea9d748 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(jsonKey []byte, opts ...Option) (*Client, error)

func NewWithJSONKeyFile

func NewWithJSONKeyFile(filename string, opts ...Option) (*Client, error)

func (*Client) AcknowledgeProduct

func (this *Client) AcknowledgeProduct(ctx context.Context, packageName, productId, token, developerPayload string) error

func (*Client) AcknowledgeSubscription

func (this *Client) AcknowledgeSubscription(ctx context.Context, packageName, subscriptionId, token, developerPayload string) error

func (*Client) CancelSubscription

func (this *Client) CancelSubscription(ctx context.Context, packageName string, subscriptionId string, token string) error

func (*Client) ConsumeProduct

func (this *Client) ConsumeProduct(ctx context.Context, packageName, productId, token string) error

func (*Client) ProductsService

func (this *Client) ProductsService() *androidpublisher.PurchasesProductsService

func (*Client) RefundSubscription

func (this *Client) RefundSubscription(ctx context.Context, packageName string, subscriptionId string, token string) error

func (*Client) RevokeSubscription

func (this *Client) RevokeSubscription(ctx context.Context, packageName string, subscriptionId string, token string) error

func (*Client) SubscriptionsService

func (this *Client) SubscriptionsService() *androidpublisher.PurchasesSubscriptionsService

func (*Client) SubscriptionsV2Service

func (this *Client) SubscriptionsV2Service() *androidpublisher.PurchasesSubscriptionsv2Service

func (*Client) VerifyProduct

func (this *Client) VerifyProduct(ctx context.Context, packageName, productId, token string) (*androidpublisher.ProductPurchase, error)

func (*Client) VerifySubscription

func (this *Client) VerifySubscription(ctx context.Context, packageName, subscriptionId, token string) (*androidpublisher.SubscriptionPurchase, error)

func (*Client) VerifySubscriptionV2

func (this *Client) VerifySubscriptionV2(ctx context.Context, packageName, token string) (*androidpublisher.SubscriptionPurchaseV2, error)

func (*Client) VoidedPurchasesService

func (this *Client) VoidedPurchasesService() *androidpublisher.PurchasesVoidedpurchasesService

type Option

type Option func(opts *options)

func WithClient

func WithClient(client *http.Client) Option

Jump to

Keyboard shortcuts

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