Skip to content
This repository has been archived by the owner on Jan 9, 2021. It is now read-only.

Commit

Permalink
Added getters for TransactionalPostRequest (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
nuwak authored and liderman committed Apr 4, 2018
1 parent dbb77c0 commit 508c069
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions src/Request/TransactionalPostRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,54 @@ public function getQueryParams(): array
{
return [];
}

/**
* Get transaction message ID
*
* @return int Transaction message ID
*/
public function getTransactionMessageId(): int
{
return $this->transactionMessageId;
}

/**
* Get receiver
*
* @return Receiver Receiver
*/
public function getReceiver(): Receiver
{
return $this->receiver;
}

/**
* Get snippets
*
* @return Snippet[] Snippets
*/
public function getSnippets(): array
{
return $this->snippets;
}

/**
* Get attachments
*
* @return Attachment[] Attachments
*/
public function getAttachments(): array
{
return $this->attachments;
}

/**
* Is returned GUID in Response
*
* @return bool Is returned GUID in Response
*/
public function isReturnGuid(): bool
{
return $this->returnGuid;
}
}

0 comments on commit 508c069

Please sign in to comment.