定制 lipseys/apiintegration 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

lipseys/apiintegration

最新稳定版本:1.2.2

Composer 安装命令:

composer require lipseys/apiintegration

包简介

Lipseys Api Integration

README 文档

README

Documentation can be found at https://api.lipseys.com

Package install is through composer at

Example Implimentation

run in project to setup autoloading

composer dump-autoload -o

<?php
//run the following to setup autoloading
//composer dump-autoload -o
require_once('vendor/autoload.php'); //only needed if not run anywhere else


use lipseys\ApiIntegration\LipseysClient;


$client = new LipseysClient("email", "password");


//print_r($client->Catalog());
//print_r($client->CatalogItem("RU1022RB"));
//print_r($client->PricingAndQuantity());

//print_r($client->AllocationPricingAndQuantity());

//print_r($client->ValidateItem("RU1022RB"));
/*print_r($client->Order(array(
    "PoNumber" => "Po Number",
    "EmailConfirmation" => true,
    "DisableEmail" => true,
    "Items" => array(
        array(
            "ItemNo" => "HERR22MBS6",
            "Quantity" => 1,
            "Note" => "note"
        )
    )
));*/
/*print_r($client->AllocationOrder(array(
    "PONumber" => "Po Number",
    "EmailConfirmation" => true,
    "DisableEmail" => true,
    "Items" => array(
        array(
            "ItemNo" => "RULCP",
            "Quantity" => 1,
            "Note" => "note"
        )
    )
)));*/
/*print_r($client->DropShipAccessories(array(
    "PoNumber" => "PoNumber",
    "BillingName" => "BillingName",
    "BillingAddressLine1" => "BillingAddressLine1",
    "BillingAddressLine2" => "BillingAddressLine2",
    "BillingAddressCity" => "BillingAddressCity",
    "BillingAddressState" => "LA",
    "BillingAddressZip" => "70764",
    "ShippingName" => "ShippingName",
    "ShippingAddressLine1" => "ShippingAddressLine1",
	"ShippingAddressLine2" => "ShippingAddressLine2",
	"ShippingAddressCity" => "Baton Rouge",
	"ShippingAddressState" => "LA",
	"ShippingAddressZip" => "70764",
	"MessageForSalesExec" => "Thanks",
    "DisableEmail" => true,
    "Overnight" => false,
    "Items" => array(
        array(
            "ItemNo" => "LP171714",
            "Quantity" => 1,
            "Note" => ""
        )
    )
)));*/

/*print_r($client->DropShipFirearms(array(
    "Ffl" => "123123123123123",
    "Name" => "Name",
    "PoNumber" => "Po Number",
    "Phone" => "1231231234",
    "DelayShipping" => false,
    "DisableEmail" => true,
    "Items" => array(
        array(
            "ItemNo" => "RU1022RB",
            "Quantity" => 1,
            "Note" => "note"
        )
    )
)));*/

$date = new DateTime();
$date->modify('-5 day');
//print_r($client->OneDaysShipping($date->format("m/d/y")));

统计信息

  • 总下载量: 942
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 3
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-11-18