Documentation

AmazonReturnsWorker
in package

Class InventoryChangeWorker.

Tags
author

Mihail Stepanenko m@stepanenko.de

copyright

2021 Thiocyn GmbH info@thiocyn.de

Table of Contents

$output  : ConsoleOutput
__construct()  : mixed
getAmazonWHId()  : mixed
Run()  : bool
createCreditMemo()  : bool
createInventoryAdj()  : bool
createItemReceive()  : bool
createRMA()  : bool
getAmazonOrder()  : mixed
loadAmazonWh()  : bool
printAmazonOrder()  : mixed
reCreateReturnReceipt()  : mixed
updateCM()  : mixed
updateIR()  : mixed
updateRMA()  : mixed

Properties

Methods

getAmazonWHId()

public getAmazonWHId(mixed $wh) : mixed
Parameters
$wh : mixed
Return values
mixed

Run()

public Run(string $data,  $orderId) : bool
Parameters
$data : string
$orderId :
Tags
throws
Throwable
Return values
bool

createCreditMemo()

private createCreditMemo( $rmaId,  $orderNumber) : bool
Parameters
$rmaId :
$orderNumber :
Tags
throws
Exception
Return values
bool

| int

createItemReceive()

private createItemReceive( $rmaId) : bool
Parameters
$rmaId :
Return values
bool

| int

createRMA()

private createRMA(mixed $nsOrder, array<string|int, mixed>|Collection $return[, stdClass $flags = null ]) : bool
Parameters
$nsOrder : mixed
$return : array<string|int, mixed>|Collection
$flags : stdClass = null
Tags
throws
Exception
Return values
bool

getAmazonOrder()

private getAmazonOrder(mixed $nr) : mixed
Parameters
$nr : mixed
Return values
mixed

printAmazonOrder()

private printAmazonOrder(mixed $nr) : mixed
Parameters
$nr : mixed
Return values
mixed

reCreateReturnReceipt()

private reCreateReturnReceipt(mixed $nsOrder) : mixed
Parameters
$nsOrder : mixed
Return values
mixed

Search results