Spade

Mini Shell

Directory:~$ /home/lmsyaran/public_html/j3/plugins/hikashoppayment/payplug2/lib/Payplug/
Upload File

[Home] [System Details] [Kill Me]
Current File:~$ /home/lmsyaran/public_html/j3/plugins/hikashoppayment/payplug2/lib/Payplug/InstallmentPlan.php

<?php
namespace Payplug;

class InstallmentPlan
{
    public static function retrieve($installmentPlanId, Payplug $payplug =
null)
    {
        return Resource\InstallmentPlan::retrieve($installmentPlanId,
$payplug);
    }

    public static function abort($installmentPlanId, Payplug $payplug =
null)
    {
        $installmentPlan =
Resource\InstallmentPlan::fromAttributes(array('id' =>
$installmentPlanId));
        return $installmentPlan->abort($payplug);
    }

    public static function create(array $data, Payplug $payplug = null)
    {
    	return Resource\InstallmentPlan::create($data, $payplug);
    }
};