data

package
v0.0.0-...-bbe9343 Latest Latest
Warning

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

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

Documentation

Overview

Package data contains the required data structures.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RefundPostRequest

type RefundPostRequest struct {
	Amount          int    `json:"amount"`
	RefundReference string `json:"refund_reference"`
}

RefundPostRequest represents the request body when posting the payment resource.

type RefundRequest

type RefundRequest struct {
	Attempt         int32  `avro:"attempt"`
	PaymentID       string `avro:"payment_id"`
	RefundAmount    string `avro:"refund_amount"`
	RefundReference string `avro:"refund_reference"`
}

RefundRequest represents the avro schema.

Jump to

Keyboard shortcuts

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