Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Novo método para retornar os hrefs após gerar uma Order (Checkout Moip) #280

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/Resource/Orders.php
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,16 @@ public function getCheckoutPreferences()
return $this->getIfSet('checkoutPreferences');
}

/**
* Get checkout href types for Checkout Moip.
*
* @return stdClass
*/
public function getCheckoutTypesHref()
{
return $this->getIfSet('_links')->checkout;
}

/**
* Create a new Orders list instance.
*
Expand Down