returnreasons

package
v0.0.0-...-fad68f1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListReturnReasonData

type ListReturnReasonData struct {
	// Array of regions
	ReturnReasons []*schema.ReturnReason `json:"return_reasons"`
}

type ListReturnReasonResponse

type ListReturnReasonResponse struct {
	// Success response
	Data *ListReturnReasonData

	// Error response
	Error *response.Error

	// Errors in case of multiple errors
	Errors *response.Errors
}

func List

func List(config *medusa.Config) (*ListReturnReasonResponse, error)

Retrieves a list of Return Reasons.

type RetrieveReturnReasonData

type RetrieveReturnReasonData struct {
	ReturnReason []*schema.ReturnReason `json:"return_reason"`
}

type RetrieveReturnReasonResponse

type RetrieveReturnReasonResponse struct {
	// Success response
	Data *RetrieveReturnReasonData

	// Error response
	Error *response.Error

	// Errors in case of multiple errors
	Errors *response.Errors
}

func Retrieve

func Retrieve(id string, config *medusa.Config) (*RetrieveReturnReasonResponse, error)

Retrieves a Return Reason.

Jump to

Keyboard shortcuts

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