olsgreen/ivendi-quoteware-api 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

olsgreen/ivendi-quoteware-api

最新稳定版本:2.0

Composer 安装命令:

composer require olsgreen/ivendi-quoteware-api

包简介

iVendi Quoteware API Client

README 文档

README

Latest Version Software License

This package provides a means easily of interacting with the iVendi Quoteware API in PHP.

Visit iVendi's documentation site at: https://documentation.ivendi.com/docs/ before getting started.

Installation

Add the client to your project using composer.

composer require olsgreen/ivendi-quoteware-api

Examples

Performing a basic quote request

    $ivendi = new \Olsgreen\IVendi\Quoteware\Client([
        'username' => 'www.ivendimotors.com',
        'quotee_uid' => '268E8202-338E-4B26-A6FE-74BCDAB0A357',
    ]);

    $response = $ivendi->quoteware()->request([
        'cashPrice' => 20000,
        'cashDeposit' => 2000,
        'annualDistance' => 10000,
        'term' => 48,
        'currentOdometerReading' => 12345,
        'identity' => 'FV10 XYB',
        'registrationDate' => '2010-07-09T00:00:00.0000Z'
        'creditTier' => CreditTiers::EXCELLENT,
        'entityType' => EntityTypes::PERSONAL,
    ]);

    // {
    //     "hasQuoteResults": true,
    //     "QuotedResultsUID": "aeec6f6f-6d1c-4f1c-8380-e50e0b3554eb",
    //     "QuoteResults": [
    //        ...
    //     ]
    //     @see https://documentation.ivendi.com/docs/ExampleQuotewareResponse
    // }

License

See attached license file

Contributions

Pull requests welcome 🙂

统计信息

  • 总下载量: 7.55k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-08-30