diff --git a/src/Resource/Orders.php b/src/Resource/Orders.php index fa6b327..f23a5d8 100644 --- a/src/Resource/Orders.php +++ b/src/Resource/Orders.php @@ -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. *