Skip to content

Commit

Permalink
Unhardcoded version
Browse files Browse the repository at this point in the history
  • Loading branch information
shoxy committed Jul 8, 2020
1 parent f833a8d commit f0fa2d8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,7 @@ class TicketUpdateRefundOptions extends Base

/** @var string */
public $waiverCode;

/** @var string */
public $version = '3.000';
}
4 changes: 3 additions & 1 deletion src/Amadeus/Client/Struct/Ticket/UpdateRefund.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ class UpdateRefund extends BaseWsMessage
/** @var ContractBundle $ContractBundle */
public $ContractBundle;

public $Version = "3.000";
/** @var string */
public $Version;

/**
* UpdateRefund constructor.
Expand All @@ -47,5 +48,6 @@ class UpdateRefund extends BaseWsMessage
public function __construct($options)
{
$this->ContractBundle = new ContractBundle($options->contractBundleId, $options->waiverCode);
$this->Version = $options->version;
}
}

0 comments on commit f0fa2d8

Please sign in to comment.