pdpa

package
v0.0.0-...-931f746 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pdpa

type Pdpa struct {
	Client *resty.Client
}

func New

func New(cfgs ...PdpaConfiguration) (Pdpa, error)

func (Pdpa) CheckConsentStatus

func (s Pdpa) CheckConsentStatus(appCode string, ookbeeNumericId int64) (entity.PdpaConsentStatusResponseInfo, error)

func (Pdpa) CheckCurrentVersionPDPA

func (s Pdpa) CheckCurrentVersionPDPA(appCode string, ookbeeNumericId int64) (entity.PdpaCurrentVersionResponseInfo, error)

type PdpaConfiguration

type PdpaConfiguration func(*Pdpa) error

func WithClient

func WithClient(client *resty.Client) PdpaConfiguration

type PdpaRepository

type PdpaRepository interface {
	// @GET("/{appCode}/consent/{ookbeeNumericId}/check")
	// g.b.l<PdpaConsentStatusResponseInfo> checkConsentStatus(@Path("appCode") @NotNull String str, @Path("ookbeeNumericId") long j2);
	CheckConsentStatus(appCode string, ookbeeNumericId int64) (entity.PdpaConsentStatusResponseInfo, error)

	// @GET("/{appCode}/consent/{ookbeeNumericId}/currentversion")
	// g.b.l<PdpaCurrentVersionResponseInfo> checkCurrentVersionPDPA(@Path("appCode") @NotNull String str, @Path("ookbeeNumericId") long j2);
	CheckCurrentVersionPDPA(appCode string, ookbeeNumericId int64) (entity.PdpaCurrentVersionResponseInfo, error)
}

Jump to

Keyboard shortcuts

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