notification

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HistoryBody

type HistoryBody struct {
	// Required
	StartDate int64 `json:"startDate"`
	EndDate   int64 `json:"endDate"`

	// Optional
	OriginalTransactionID string `json:"originalTransactionId,omitempty"`
	NotificationSubtype   string `json:"notificationSubtype,omitempty"`
	NotificationType      string `json:"notificationType,omitempty"`
}

type HistoryOption

type HistoryOption func(*url.Values, *HistoryBody)

func WithNextToken

func WithNextToken(paginationToken string) HistoryOption

func WithOriginalTransactionID

func WithOriginalTransactionID(id string) HistoryOption

func WithSubtype

func WithSubtype(notificationSubtype string) HistoryOption

func WithType

func WithType(notificationType string) HistoryOption

Jump to

Keyboard shortcuts

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