示例#1
0
 private ChargeBeeApi()
 {
     Addon               = new AddonActions(this);
     Address             = new AddressActions(this);
     Card                = new CardActions(this);
     Comment             = new CommentActions(this);
     Coupon              = new CouponActions(this);
     CouponCode          = new CouponCodeActions(this);
     CreditNote          = new CreditNoteActions(this);
     Customer            = new CustomerActions(this);
     Estimate            = new EstimateActions(this);
     Event               = new EventActions(this);
     HostedPage          = new HostedPageActions(this);
     Invoice             = new InvoiceActions(this);
     Order               = new OrderActions(this);
     PaymentSource       = new PaymentSourceActions(this);
     Plan                = new PlanActions(this);
     PortalSession       = new PortalSessionActions(this);
     ResourceMigration   = new ResourceMigrationActions(this);
     SiteMigrationDetail = new SiteMigrationDetailActions(this);
     Subscription        = new SubscriptionActions(this);
     TimeMachine         = new TimeMachineActions(this);
     Transaction         = new TransactionActions(this);
     UnbilledCharge      = new UnbilledChargeActions(this);
 }
示例#2
0
 /// <summary>
 /// Initializes a new Invoice instance. Can be used to create an invoice.
 /// </summary>
 /// <param name="client"></param>
 /// <param name="action"></param>
 /// <param name="saveName">Required when Action is Save or Repeat</param>
 public Invoice(Client client, InvoiceActions action, SendMethods sendMethod) : this(client, action, null)
 {
     SendMethod = sendMethod;
 }
示例#3
0
 /// <summary>
 /// Initializes a new Invoice instance. Can be used to create an invoice.
 /// </summary>
 /// <param name="client"></param>
 /// <param name="action"></param>
 /// <param name="saveName">Required when Action is Save or Repeat</param>
 public Invoice(Client client, InvoiceActions action, string saveName = null) : this()
 {
     Client   = client;
     Action   = action;
     SaveName = saveName;
 }