payment

package
v0.0.0-...-8837064 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Acknowledge

func Acknowledge(packageName, productId, token string) error

Acknowledge: Acknowledges a purchase of an inapp item.

func Get

func Get(packageName, productId, token string) (*androidpublisher.ProductPurchase, error)

Get: Checks the purchase and consumption status of an inapp item Refer: https://developers.google.com/android-publisher/api-ref/rest/v3/purchases.products/get

func GetInappProduct

func GetInappProduct(packageName, productId string) (*androidpublisher.InAppProduct, error)

func GetInappProductsList

func GetInappProductsList(packageName string) (*androidpublisher.InappproductsListResponse, error)

func Init

func Init(apiKeyPath string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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