Skip to content

Commit

Permalink
add metadata methods
Browse files Browse the repository at this point in the history
  • Loading branch information
esposimo committed Apr 9, 2024
1 parent 243e33b commit 83ec374
Show file tree
Hide file tree
Showing 8 changed files with 419 additions and 1 deletion.
52 changes: 52 additions & 0 deletions src/src/crawler/methods/MethodInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,4 +210,56 @@ public function getStazione() : string|null;
public function outcome() : string|null;


/**
* Restituisce il numero di metadata del pagamento
* @param int $index
* @return string|null
*/
public function getPaymentMetaDataCount(int $index = 0) : string|null;

/**
* Restituisce il metadata alla posizione $metaKey del pagamento $index gestito dall'evento
* @param int $index
* @param int $metaKey
* @return string|null
*/
public function getPaymentMetaDataKey(int $index = 0, int $metaKey = 0) : string|null;


/**
* Restituisce il valore del metadata alla posizione $metakey del pagamento $index gestito dall'evento
* @param int $index
* @param int $metaKey
* @return string|null
*/
public function getPaymentMetaDataValue(int $index = 0, int $metaKey = 0) : string|null;


/**
* Restituisce il numero di metadata del transfer $transfer relativo al pagamento $index gestito dall'evento
* @param int $transfer
* @param int $index
* @return string|null
*/
public function getTransferMetaDataCount(int $transfer = 0, int $index = 0) : string|null;

/**
* Restituisce la chiave del metadata alla posizione $metakey del pagamento $index gestito dall'evento relativo al transfer numero $transfer
* @param int $transfer
* @param int $index
* @param int $metaKey
* @return string|null
*/
public function getTransferMetaDataKey(int $transfer = 0, int $index = 0, int $metaKey = 0) : string|null;

/**
* Restituisce il valore del metadata alla posizione $metakey del pagamento $index gestito dall'evento relativo al transfer numero $transfer
* @param int $transfer
* @param int $index
* @param int $metaKey
* @return string|null
*/
public function getTransferMetaDataValue(int $transfer = 0, int $index = 0, int $metaKey = 0) : string|null;


}
61 changes: 61 additions & 0 deletions src/src/crawler/methods/req/activatePaymentNotice.php
Original file line number Diff line number Diff line change
Expand Up @@ -313,4 +313,65 @@ public function outcome(): string|null
{
return null;
}

/**
* @param int $index
* @return string|null
*/
public function getPaymentMetaDataCount(int $index = 0): string|null
{
return null;
}

/**
* @param int $index
* @param int $metaKey
* @return string|null
*/
public function getPaymentMetaDataKey(int $index = 0, int $metaKey = 0): string|null
{
return null;
}

/**
* @param int $index
* @param int $metaKey
* @return string|null
*/
public function getPaymentMetaDataValue(int $index = 0, int $metaKey = 0): string|null
{
return null;
}

/**
* @param int $transfer
* @param int $index
* @return string|null
*/
public function getTransferMetaDataCount(int $transfer = 0, int $index = 0): string|null
{
return null;
}

/**
* @param int $transfer
* @param int $index
* @param int $metaKey
* @return string|null
*/
public function getTransferMetaDataKey(int $transfer = 0, int $index = 0, int $metaKey = 0): string|null
{
return null;
}

/**
* @param int $transfer
* @param int $index
* @param int $metaKey
* @return string|null
*/
public function getTransferMetaDataValue(int $transfer = 0, int $index = 0, int $metaKey = 0): string|null
{
return null;
}
}
61 changes: 61 additions & 0 deletions src/src/crawler/methods/req/nodoInviaCarrelloRPT.php
Original file line number Diff line number Diff line change
Expand Up @@ -401,4 +401,65 @@ public function outcome(): string|null
{
return null;
}

/**
* @param int $index
* @return string|null
*/
public function getPaymentMetaDataCount(int $index = 0): string|null
{
return null;
}

/**
* @param int $index
* @param int $metaKey
* @return string|null
*/
public function getPaymentMetaDataKey(int $index = 0, int $metaKey = 0): string|null
{
return null;
}

/**
* @param int $index
* @param int $metaKey
* @return string|null
*/
public function getPaymentMetaDataValue(int $index = 0, int $metaKey = 0): string|null
{
return null;
}

/**
* @param int $transfer
* @param int $index
* @return string|null
*/
public function getTransferMetaDataCount(int $transfer = 0, int $index = 0): string|null
{
return null;
}

/**
* @param int $transfer
* @param int $index
* @param int $metaKey
* @return string|null
*/
public function getTransferMetaDataKey(int $transfer = 0, int $index = 0, int $metaKey = 0): string|null
{
return null;
}

/**
* @param int $transfer
* @param int $index
* @param int $metaKey
* @return string|null
*/
public function getTransferMetaDataValue(int $transfer = 0, int $index = 0, int $metaKey = 0): string|null
{
return null;
}
}
61 changes: 61 additions & 0 deletions src/src/crawler/methods/req/sendPaymentOutcome.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,4 +265,65 @@ public function outcome(): string|null
}
return null;
}

/**
* @param int $index
* @return string|null
*/
public function getPaymentMetaDataCount(int $index = 0): string|null
{
return null;
}

/**
* @param int $index
* @param int $metaKey
* @return string|null
*/
public function getPaymentMetaDataKey(int $index = 0, int $metaKey = 0): string|null
{
return null;
}

/**
* @param int $index
* @param int $metaKey
* @return string|null
*/
public function getPaymentMetaDataValue(int $index = 0, int $metaKey = 0): string|null
{
return null;
}

/**
* @param int $transfer
* @param int $index
* @return string|null
*/
public function getTransferMetaDataCount(int $transfer = 0, int $index = 0): string|null
{
return null;
}

/**
* @param int $transfer
* @param int $index
* @param int $metaKey
* @return string|null
*/
public function getTransferMetaDataKey(int $transfer = 0, int $index = 0, int $metaKey = 0): string|null
{
return null;
}

/**
* @param int $transfer
* @param int $index
* @param int $metaKey
* @return string|null
*/
public function getTransferMetaDataValue(int $transfer = 0, int $index = 0, int $metaKey = 0): string|null
{
return null;
}
}
61 changes: 61 additions & 0 deletions src/src/crawler/methods/resp/activatePaymentNotice.php
Original file line number Diff line number Diff line change
Expand Up @@ -481,4 +481,65 @@ public function outcome(): string|null
}
return null;
}

/**
* @param int $index
* @return string|null
*/
public function getPaymentMetaDataCount(int $index = 0): string|null
{
return null;
}

/**
* @param int $index
* @param int $metaKey
* @return string|null
*/
public function getPaymentMetaDataKey(int $index = 0, int $metaKey = 0): string|null
{
return null;
}

/**
* @param int $index
* @param int $metaKey
* @return string|null
*/
public function getPaymentMetaDataValue(int $index = 0, int $metaKey = 0): string|null
{
return null;
}

/**
* @param int $transfer
* @param int $index
* @return string|null
*/
public function getTransferMetaDataCount(int $transfer = 0, int $index = 0): string|null
{
return null;
}

/**
* @param int $transfer
* @param int $index
* @param int $metaKey
* @return string|null
*/
public function getTransferMetaDataKey(int $transfer = 0, int $index = 0, int $metaKey = 0): string|null
{
return null;
}

/**
* @param int $transfer
* @param int $index
* @param int $metaKey
* @return string|null
*/
public function getTransferMetaDataValue(int $transfer = 0, int $index = 0, int $metaKey = 0): string|null
{
return null;
}
}
61 changes: 61 additions & 0 deletions src/src/crawler/methods/resp/nodoInviaCarrelloRPT.php
Original file line number Diff line number Diff line change
Expand Up @@ -288,4 +288,65 @@ public function outcome(): string|null
{
return ($this->isFaultEvent()) ? 'KO' : null;
}

/**
* @param int $index
* @return string|null
*/
public function getPaymentMetaDataCount(int $index = 0): string|null
{
return null;
}

/**
* @param int $index
* @param int $metaKey
* @return string|null
*/
public function getPaymentMetaDataKey(int $index = 0, int $metaKey = 0): string|null
{
return null;
}

/**
* @param int $index
* @param int $metaKey
* @return string|null
*/
public function getPaymentMetaDataValue(int $index = 0, int $metaKey = 0): string|null
{
return null;
}

/**
* @param int $transfer
* @param int $index
* @return string|null
*/
public function getTransferMetaDataCount(int $transfer = 0, int $index = 0): string|null
{
return null;
}

/**
* @param int $transfer
* @param int $index
* @param int $metaKey
* @return string|null
*/
public function getTransferMetaDataKey(int $transfer = 0, int $index = 0, int $metaKey = 0): string|null
{
return null;
}

/**
* @param int $transfer
* @param int $index
* @param int $metaKey
* @return string|null
*/
public function getTransferMetaDataValue(int $transfer = 0, int $index = 0, int $metaKey = 0): string|null
{
return null;
}
}
Loading

0 comments on commit 83ec374

Please sign in to comment.