* * @throws InvalidArgumentException */ public function __construct() { $this->mode = Support::getInstance()->mode; } /** * Pay an order. * * @author yansongda * * @param string $endpoint * * @return Collection */ abstract public function pay($endpoint, array $payload); }