public void Setup() { PayloadTestSetup.initAPI(); this.processing_account = Fixtures.processing_account(); this.card_payment = Fixtures.card_payment(); this.bank_payment = Fixtures.bank_payment(); }
public void Setup() { PayloadTestSetup.initAPI(); this.processing_account = Fixtures.processing_account(); this.payment_link = pl.PaymentLink.create(new { type = "one_time", description = "Payment Request", amount = 10.00, processing_id = this.processing_account.id } ); }
public void Setup() { PayloadTestSetup.initAPI(); this.processing_account = Fixtures.processing_account(); this.customer_account = Fixtures.customer_account(); this.invoice = pl.Invoice.create(new { type = "bill", processing_id = processing_account.id, due_date = "2019-05-01", customer_id = customer_account.id, items = new[] { new pl.ChargeItem(new { amount = 29.99 }), } }); }
public void Setup() { PayloadTestSetup.initAPI(); this.processing_account = Fixtures.processing_account(); this.customer_account = Fixtures.customer_account(); this.billing_schedule = pl.BillingSchedule.create(new { start_date = "2019-01-01", end_date = "2019-12-31", recurring_frequency = "monthly", type = "subscription", customer_id = this.customer_account.id, processing_id = this.processing_account.id, charges = new pl.BillingCharge(new { type = "option_1", amount = 39.99 }) }); }
public void Setup() { PayloadTestSetup.initAPI(); this.customer_account = Fixtures.customer_account(); this.processing_account = Fixtures.processing_account(); }