Пример #1
0
// New creates a new bill forward client
func New(transport runtime.ClientTransport, formats strfmt.Registry) *BillForward {
	cli := new(BillForward)
	cli.Transport = transport

	cli.Accounts = accounts.New(transport, formats)

	cli.Addresses = addresses.New(transport, formats)

	cli.Invoices = invoices.New(transport, formats)

	cli.PaymentMethods = payment_methods.New(transport, formats)

	cli.Payments = payments.New(transport, formats)

	cli.ProductRatePlans = product_rate_plans.New(transport, formats)

	cli.Products = products.New(transport, formats)

	cli.Profiles = profiles.New(transport, formats)

	cli.Subscriptions = subscriptions.New(transport, formats)

	cli.Tokenization = tokenization.New(transport, formats)

	cli.Webhooks = webhooks.New(transport, formats)

	return cli
}
Пример #2
0
// New creates a new bill forward client
func New(transport client.Transport, formats strfmt.Registry) *BillForward {
	cli := new(BillForward)
	cli.Transport = transport

	cli.Accounts = accounts.New(transport, formats)

	cli.Addresses = addresses.New(transport, formats)

	cli.Invoices = invoices.New(transport, formats)

	cli.ProductRatePlans = product_rate_plans.New(transport, formats)

	cli.Products = products.New(transport, formats)

	cli.Profiles = profiles.New(transport, formats)

	cli.Subscriptions = subscriptions.New(transport, formats)

	return cli
}