bf_ruby2 2.2016.237 → 3.2017.174
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +39 -0
- data/.rspec +2 -0
- data/.swagger-codegen-ignore +23 -0
- data/.swagger-codegen/VERSION +1 -0
- data/Gemfile +7 -0
- data/README.md +112 -58
- data/Rakefile +8 -0
- data/bf_ruby2.gemspec +6 -16
- data/docs/Product.md +1 -1
- data/docs/ProductRatePlan.md +1 -1
- data/docs/TokenizationApi.md +4 -4
- data/git_push.sh +0 -12
- data/lib/bf_ruby2.rb +23 -34
- data/lib/bf_ruby2/api/accounts_api.rb +148 -183
- data/lib/bf_ruby2/api/addresses_api.rb +13 -28
- data/lib/bf_ruby2/api/amendments_api.rb +80 -117
- data/lib/bf_ruby2/api/analytics_api.rb +88 -121
- data/lib/bf_ruby2/api/auditlogs_api.rb +33 -60
- data/lib/bf_ruby2/api/charges_api.rb +51 -84
- data/lib/bf_ruby2/api/clients_api.rb +22 -45
- data/lib/bf_ruby2/api/configurations_api.rb +23 -48
- data/lib/bf_ruby2/api/couponbook_api.rb +56 -89
- data/lib/bf_ruby2/api/couponbookdefinition_api.rb +35 -62
- data/lib/bf_ruby2/api/coupondefinition_api.rb +28 -53
- data/lib/bf_ruby2/api/couponinstance_api.rb +65 -102
- data/lib/bf_ruby2/api/couponmodifier_api.rb +39 -68
- data/lib/bf_ruby2/api/couponrule_api.rb +28 -53
- data/lib/bf_ruby2/api/coupons_api.rb +52 -81
- data/lib/bf_ruby2/api/creditnotes_api.rb +43 -64
- data/lib/bf_ruby2/api/cybersourcetokens_api.rb +34 -53
- data/lib/bf_ruby2/api/dunninglines_api.rb +37 -64
- data/lib/bf_ruby2/api/emailproviders_api.rb +22 -45
- data/lib/bf_ruby2/api/emails_api.rb +19 -36
- data/lib/bf_ruby2/api/emailsubscriptions_api.rb +37 -58
- data/lib/bf_ruby2/api/fixedtermdefinitions_api.rb +13 -28
- data/lib/bf_ruby2/api/fixedterms_api.rb +7 -20
- data/lib/bf_ruby2/api/invoices_api.rb +296 -397
- data/lib/bf_ruby2/api/metadata_api.rb +19 -42
- data/lib/bf_ruby2/api/notifications_api.rb +44 -69
- data/lib/bf_ruby2/api/organizations_api.rb +37 -70
- data/lib/bf_ruby2/api/passwords_api.rb +7 -20
- data/lib/bf_ruby2/api/paymentmethods_api.rb +48 -81
- data/lib/bf_ruby2/api/paymentmethodsubscriptionlinks_api.rb +16 -29
- data/lib/bf_ruby2/api/payments_api.rb +52 -85
- data/lib/bf_ruby2/api/periods_api.rb +10 -31
- data/lib/bf_ruby2/api/permissions_api.rb +32 -61
- data/lib/bf_ruby2/api/pricingcalculator_api.rb +19 -36
- data/lib/bf_ruby2/api/pricingcomponents_api.rb +36 -63
- data/lib/bf_ruby2/api/pricingcomponenttiers_api.rb +30 -55
- data/lib/bf_ruby2/api/pricingcomponentvaluechanges_api.rb +37 -64
- data/lib/bf_ruby2/api/pricingcomponentvalues_api.rb +30 -55
- data/lib/bf_ruby2/api/productrateplans_api.rb +101 -134
- data/lib/bf_ruby2/api/products_api.rb +59 -88
- data/lib/bf_ruby2/api/profiles_api.rb +30 -55
- data/lib/bf_ruby2/api/quotes_api.rb +7 -20
- data/lib/bf_ruby2/api/receipts_api.rb +41 -78
- data/lib/bf_ruby2/api/refunds_api.rb +49 -80
- data/lib/bf_ruby2/api/roles_api.rb +42 -65
- data/lib/bf_ruby2/api/search_api.rb +7 -20
- data/lib/bf_ruby2/api/subscriptions_api.rb +414 -477
- data/lib/bf_ruby2/api/synch_app_configs_api.rb +26 -45
- data/lib/bf_ruby2/api/synch_configs_api.rb +35 -62
- data/lib/bf_ruby2/api/synch_jobs_api.rb +50 -81
- data/lib/bf_ruby2/api/taxationlinks_api.rb +36 -63
- data/lib/bf_ruby2/api/taxationstrategies_api.rb +58 -93
- data/lib/bf_ruby2/api/time_api.rb +7 -20
- data/lib/bf_ruby2/api/tokenization_api.rb +29 -60
- data/lib/bf_ruby2/api/unitofmeasure_api.rb +22 -45
- data/lib/bf_ruby2/api/usage_api.rb +43 -62
- data/lib/bf_ruby2/api/usageperiods_api.rb +25 -44
- data/lib/bf_ruby2/api/usageroundingstrategies_api.rb +27 -46
- data/lib/bf_ruby2/api/usagesessions_api.rb +25 -48
- data/lib/bf_ruby2/api/usernames_api.rb +7 -20
- data/lib/bf_ruby2/api/users_api.rb +67 -102
- data/lib/bf_ruby2/api/vaultedgateways_api.rb +79 -116
- data/lib/bf_ruby2/api/webhooks_api.rb +43 -70
- data/lib/bf_ruby2/api_client.rb +52 -42
- data/lib/bf_ruby2/api_error.rb +15 -18
- data/lib/bf_ruby2/configuration.rb +7 -12
- data/lib/bf_ruby2/models/account.rb +12 -15
- data/lib/bf_ruby2/models/account_ltv_result_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/account_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/account_payments_result_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/add_charge_request.rb +8 -15
- data/lib/bf_ruby2/models/add_charge_to_account_response.rb +4 -15
- data/lib/bf_ruby2/models/add_charge_to_account_response_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/add_charges_to_account_api_request.rb +4 -15
- data/lib/bf_ruby2/models/add_coupon_code_request.rb +8 -15
- data/lib/bf_ruby2/models/add_payment_method_request.rb +4 -15
- data/lib/bf_ruby2/models/add_taxation_strategy_request.rb +4 -15
- data/lib/bf_ruby2/models/address.rb +24 -15
- data/lib/bf_ruby2/models/address_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/aggregating_component.rb +12 -15
- data/lib/bf_ruby2/models/amendment.rb +24 -15
- data/lib/bf_ruby2/models/amendment_discard_amendment.rb +28 -15
- data/lib/bf_ruby2/models/amendment_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/amendment_price_n_time_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/api_configuration_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/api_quote.rb +12 -15
- data/lib/bf_ruby2/models/api_quote_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/api_quote_response_quantity.rb +4 -15
- data/lib/bf_ruby2/models/audit_entry.rb +40 -15
- data/lib/bf_ruby2/models/audit_entry_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/auth_capture_request.rb +8 -15
- data/lib/bf_ruby2/models/authorize_net_token_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/bank_account_verification_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/batch_update_pricing_component_values_request.rb +8 -15
- data/lib/bf_ruby2/models/bf_error.rb +4 -15
- data/lib/bf_ruby2/models/bf_permission.rb +4 -15
- data/lib/bf_ruby2/models/bf_permission_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/billforward_managed_payments_result_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/billing_entity_base.rb +4 -15
- data/lib/bf_ruby2/models/braintree_auth_capture_request.rb +12 -15
- data/lib/bf_ruby2/models/braintree_capture_request.rb +24 -15
- data/lib/bf_ruby2/models/braintree_token_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/cancel_subscription_request.rb +12 -15
- data/lib/bf_ruby2/models/cancellation_amendment.rb +36 -15
- data/lib/bf_ruby2/models/cass_churn_result_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/cass_payment_result_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/cass_upgrade_result_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/client.rb +44 -15
- data/lib/bf_ruby2/models/client_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/component_change.rb +36 -15
- data/lib/bf_ruby2/models/component_cost.rb +4 -15
- data/lib/bf_ruby2/models/compound_usage.rb +12 -15
- data/lib/bf_ruby2/models/compound_usage_session.rb +8 -15
- data/lib/bf_ruby2/models/coupon.rb +32 -15
- data/lib/bf_ruby2/models/coupon_book.rb +44 -15
- data/lib/bf_ruby2/models/coupon_book_definition.rb +52 -15
- data/lib/bf_ruby2/models/coupon_book_definition_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/coupon_book_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/coupon_definition.rb +56 -15
- data/lib/bf_ruby2/models/coupon_definition_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/coupon_discount.rb +4 -15
- data/lib/bf_ruby2/models/coupon_discount_estimate.rb +28 -15
- data/lib/bf_ruby2/models/coupon_instance.rb +48 -15
- data/lib/bf_ruby2/models/coupon_instance_existing_value.rb +12 -15
- data/lib/bf_ruby2/models/coupon_instance_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/coupon_modifier_base.rb +40 -15
- data/lib/bf_ruby2/models/coupon_modifier_base_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/coupon_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/coupon_rule.rb +56 -15
- data/lib/bf_ruby2/models/coupon_rule_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/coupon_unique_codes_request.rb +12 -15
- data/lib/bf_ruby2/models/coupon_unique_codes_response.rb +4 -15
- data/lib/bf_ruby2/models/coupon_unique_codes_response_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/coupon_wrapper_response.rb +4 -15
- data/lib/bf_ruby2/models/create_account_profile_request.rb +8 -15
- data/lib/bf_ruby2/models/create_account_request.rb +4 -15
- data/lib/bf_ruby2/models/create_address_request.rb +28 -15
- data/lib/bf_ruby2/models/create_aggregating_component_request.rb +8 -15
- data/lib/bf_ruby2/models/create_aggregating_subscription_request.rb +12 -15
- data/lib/bf_ruby2/models/create_profile_address_request.rb +24 -15
- data/lib/bf_ruby2/models/create_subscription_batch_request.rb +4 -15
- data/lib/bf_ruby2/models/create_subscription_charge_amendment.rb +36 -15
- data/lib/bf_ruby2/models/create_subscription_request.rb +16 -15
- data/lib/bf_ruby2/models/credit_account_request.rb +12 -15
- data/lib/bf_ruby2/models/credit_note.rb +24 -15
- data/lib/bf_ruby2/models/credit_note_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/credit_subscription_request.rb +8 -15
- data/lib/bf_ruby2/models/cybersource_token_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/data_synchronisation_app_configuration_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/data_synchronisation_configuration.rb +32 -15
- data/lib/bf_ruby2/models/data_synchronisation_configuration_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/data_synchronization_job_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/debts_result_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/dunning_line.rb +32 -15
- data/lib/bf_ruby2/models/dunning_line_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/dynamic_metadata.rb +4 -15
- data/lib/bf_ruby2/models/email.rb +12 -15
- data/lib/bf_ruby2/models/email_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/email_provider.rb +24 -15
- data/lib/bf_ruby2/models/email_provider_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/email_subscription.rb +16 -15
- data/lib/bf_ruby2/models/email_subscription_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/end_trial_amendment.rb +24 -15
- data/lib/bf_ruby2/models/event.rb +36 -15
- data/lib/bf_ruby2/models/event_data.rb +12 -15
- data/lib/bf_ruby2/models/file_sham.rb +4 -15
- data/lib/bf_ruby2/models/fixed_term.rb +56 -15
- data/lib/bf_ruby2/models/fixed_term_definition_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/fixed_term_expiry_amendment.rb +28 -15
- data/lib/bf_ruby2/models/fixed_term_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/flat_pricing_component.rb +48 -15
- data/lib/bf_ruby2/models/import_invoice_line.rb +4 -15
- data/lib/bf_ruby2/models/insertable_billing_entity.rb +40 -15
- data/lib/bf_ruby2/models/invoice.rb +60 -15
- data/lib/bf_ruby2/models/invoice_charge_request.rb +4 -15
- data/lib/bf_ruby2/models/invoice_line.rb +76 -15
- data/lib/bf_ruby2/models/invoice_line_payment.rb +108 -15
- data/lib/bf_ruby2/models/invoice_line_payment_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/invoice_next_execution_attempt_amendment.rb +32 -15
- data/lib/bf_ruby2/models/invoice_outstanding_charges_amendment.rb +28 -15
- data/lib/bf_ruby2/models/invoice_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/invoice_payment.rb +48 -15
- data/lib/bf_ruby2/models/invoice_recalculation_amendment.rb +40 -15
- data/lib/bf_ruby2/models/invoice_recalculation_request.rb +20 -15
- data/lib/bf_ruby2/models/issue_invoice_amendment.rb +28 -15
- data/lib/bf_ruby2/models/metadata_key_values_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/migration_request.rb +16 -15
- data/lib/bf_ruby2/models/model_alias.rb +20 -15
- data/lib/bf_ruby2/models/mutable_billing_entity.rb +48 -15
- data/lib/bf_ruby2/models/nested_charge_request.rb +4 -15
- data/lib/bf_ruby2/models/notification.rb +40 -15
- data/lib/bf_ruby2/models/notification_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/organization.rb +20 -15
- data/lib/bf_ruby2/models/organization_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/password.rb +20 -15
- data/lib/bf_ruby2/models/password_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/password_reset_request.rb +8 -15
- data/lib/bf_ruby2/models/pause_request.rb +4 -15
- data/lib/bf_ruby2/models/payment.rb +52 -15
- data/lib/bf_ruby2/models/payment_method.rb +28 -15
- data/lib/bf_ruby2/models/payment_method_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/payment_method_subscription_link.rb +12 -15
- data/lib/bf_ruby2/models/payment_method_subscription_link_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/payment_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/payment_retry_request.rb +4 -15
- data/lib/bf_ruby2/models/pending_component_value_change.rb +4 -15
- data/lib/bf_ruby2/models/period.rb +28 -15
- data/lib/bf_ruby2/models/period_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/permission_action_entity_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/permission_resource_entity_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/price_calculation_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/pricing_component.rb +48 -15
- data/lib/bf_ruby2/models/pricing_component_coupon_modifier.rb +40 -15
- data/lib/bf_ruby2/models/pricing_component_migration_value.rb +12 -15
- data/lib/bf_ruby2/models/pricing_component_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/pricing_component_quantity_request.rb +12 -15
- data/lib/bf_ruby2/models/pricing_component_tier.rb +16 -15
- data/lib/bf_ruby2/models/pricing_component_tier_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/pricing_component_value.rb +20 -15
- data/lib/bf_ruby2/models/pricing_component_value_change_amendment.rb +28 -15
- data/lib/bf_ruby2/models/pricing_component_value_change_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/pricing_component_value_migration_amendment_mapping.rb +16 -15
- data/lib/bf_ruby2/models/pricing_component_value_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/pricing_component_value_request.rb +8 -15
- data/lib/bf_ruby2/models/pricing_component_value_response_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/product.rb +37 -16
- data/lib/bf_ruby2/models/product_coupon_modifier.rb +40 -15
- data/lib/bf_ruby2/models/product_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/product_payments_result_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/product_rate_plan.rb +45 -16
- data/lib/bf_ruby2/models/product_rate_plan_migration_amendment.rb +36 -15
- data/lib/bf_ruby2/models/product_rate_plan_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/product_rate_plan_payments_result_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/profile.rb +28 -15
- data/lib/bf_ruby2/models/profile_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/quote_request.rb +20 -15
- data/lib/bf_ruby2/models/quote_request_value.rb +12 -15
- data/lib/bf_ruby2/models/recalculate_charge_batch_request.rb +4 -15
- data/lib/bf_ruby2/models/recalculate_charge_batch_response.rb +4 -15
- data/lib/bf_ruby2/models/recalculate_charge_batch_response_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/recalculate_charge_request.rb +8 -15
- data/lib/bf_ruby2/models/receipt.rb +24 -15
- data/lib/bf_ruby2/models/receipt_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/refund.rb +36 -15
- data/lib/bf_ruby2/models/refund_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/resume_request.rb +4 -15
- data/lib/bf_ruby2/models/resume_subscription_amendment.rb +24 -15
- data/lib/bf_ruby2/models/revenue_attribution.rb +88 -15
- data/lib/bf_ruby2/models/revenue_attribution_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/revive_subscription_request.rb +8 -15
- data/lib/bf_ruby2/models/role.rb +4 -15
- data/lib/bf_ruby2/models/role_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/rule_satisfaction.rb +4 -15
- data/lib/bf_ruby2/models/search_result_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/service_end_amendment.rb +24 -15
- data/lib/bf_ruby2/models/single_recalculate_charge_request.rb +12 -15
- data/lib/bf_ruby2/models/stripe_ach_token_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/stripe_auth_capture_request.rb +12 -15
- data/lib/bf_ruby2/models/stripe_object.rb +4 -15
- data/lib/bf_ruby2/models/stripe_token_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/subscription.rb +52 -15
- data/lib/bf_ruby2/models/subscription_cancellation_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/subscription_charge.rb +28 -15
- data/lib/bf_ruby2/models/subscription_charge_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/subscription_ltv_result_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/subscription_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/swagger_type_list.rb +4 -15
- data/lib/bf_ruby2/models/swagger_type_list_inv.rb +8 -15
- data/lib/bf_ruby2/models/swagger_type_list_subs.rb +12 -15
- data/lib/bf_ruby2/models/taxation_link_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/taxation_strategy_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/tiered_pricing_component.rb +48 -15
- data/lib/bf_ruby2/models/tiered_volume_pricing_component.rb +48 -15
- data/lib/bf_ruby2/models/time_request.rb +4 -15
- data/lib/bf_ruby2/models/time_response.rb +4 -15
- data/lib/bf_ruby2/models/time_response_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/time_zone.rb +4 -15
- data/lib/bf_ruby2/models/timer_amendment.rb +24 -15
- data/lib/bf_ruby2/models/tokenization_pre_auth_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/trust_commerce_token_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/unit_discount.rb +4 -15
- data/lib/bf_ruby2/models/unit_of_measure.rb +20 -15
- data/lib/bf_ruby2/models/unit_of_measure_coupon_modifier.rb +40 -15
- data/lib/bf_ruby2/models/unit_of_measure_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/update_address_request.rb +12 -15
- data/lib/bf_ruby2/models/update_component_value_amendment.rb +40 -15
- data/lib/bf_ruby2/models/update_pricing_component_value_change_result.rb +4 -15
- data/lib/bf_ruby2/models/update_pricing_component_value_request.rb +11 -22
- data/lib/bf_ruby2/models/update_pricing_component_value_response.rb +4 -15
- data/lib/bf_ruby2/models/update_pricing_component_value_response_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/update_profile_request.rb +8 -15
- data/lib/bf_ruby2/models/update_role_request.rb +8 -15
- data/lib/bf_ruby2/models/update_subscription_request.rb +8 -15
- data/lib/bf_ruby2/models/usage.rb +36 -15
- data/lib/bf_ruby2/models/usage_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/usage_period_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/usage_rounding_strategy_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/usage_session.rb +24 -15
- data/lib/bf_ruby2/models/usage_session_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/user.rb +40 -15
- data/lib/bf_ruby2/models/user_creation_request.rb +36 -15
- data/lib/bf_ruby2/models/user_creation_response_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/user_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/username.rb +16 -15
- data/lib/bf_ruby2/models/username_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/models/webhook_paged_metadata.rb +32 -15
- data/lib/bf_ruby2/version.rb +2 -13
- data/spec/api/accounts_api_spec.rb +15 -13
- data/spec/api/addresses_api_spec.rb +2 -13
- data/spec/api/amendments_api_spec.rb +2 -13
- data/spec/api/analytics_api_spec.rb +2 -13
- data/spec/api/auditlogs_api_spec.rb +2 -13
- data/spec/api/charges_api_spec.rb +14 -13
- data/spec/api/clients_api_spec.rb +2 -13
- data/spec/api/configurations_api_spec.rb +2 -13
- data/spec/api/couponbook_api_spec.rb +2 -13
- data/spec/api/couponbookdefinition_api_spec.rb +2 -13
- data/spec/api/coupondefinition_api_spec.rb +2 -13
- data/spec/api/couponinstance_api_spec.rb +2 -13
- data/spec/api/couponmodifier_api_spec.rb +2 -13
- data/spec/api/couponrule_api_spec.rb +2 -13
- data/spec/api/coupons_api_spec.rb +2 -13
- data/spec/api/creditnotes_api_spec.rb +2 -13
- data/spec/api/cybersourcetokens_api_spec.rb +2 -13
- data/spec/api/dunninglines_api_spec.rb +2 -13
- data/spec/api/emailproviders_api_spec.rb +2 -13
- data/spec/api/emails_api_spec.rb +2 -13
- data/spec/api/emailsubscriptions_api_spec.rb +2 -13
- data/spec/api/fixedtermdefinitions_api_spec.rb +2 -13
- data/spec/api/fixedterms_api_spec.rb +2 -13
- data/spec/api/invoices_api_spec.rb +2 -13
- data/spec/api/metadata_api_spec.rb +2 -13
- data/spec/api/notifications_api_spec.rb +2 -13
- data/spec/api/organizations_api_spec.rb +2 -13
- data/spec/api/passwords_api_spec.rb +2 -13
- data/spec/api/paymentmethods_api_spec.rb +2 -13
- data/spec/api/paymentmethodsubscriptionlinks_api_spec.rb +2 -13
- data/spec/api/payments_api_spec.rb +2 -13
- data/spec/api/periods_api_spec.rb +2 -13
- data/spec/api/permissions_api_spec.rb +2 -13
- data/spec/api/pricingcalculator_api_spec.rb +2 -13
- data/spec/api/pricingcomponents_api_spec.rb +2 -13
- data/spec/api/pricingcomponenttiers_api_spec.rb +2 -13
- data/spec/api/pricingcomponentvaluechanges_api_spec.rb +2 -13
- data/spec/api/pricingcomponentvalues_api_spec.rb +2 -13
- data/spec/api/productrateplans_api_spec.rb +2 -13
- data/spec/api/products_api_spec.rb +2 -13
- data/spec/api/profiles_api_spec.rb +2 -13
- data/spec/api/quotes_api_spec.rb +2 -13
- data/spec/api/receipts_api_spec.rb +2 -13
- data/spec/api/refunds_api_spec.rb +2 -13
- data/spec/api/roles_api_spec.rb +2 -13
- data/spec/api/search_api_spec.rb +2 -13
- data/spec/api/subscriptions_api_spec.rb +15 -13
- data/spec/api/synch_app_configs_api_spec.rb +2 -13
- data/spec/api/synch_configs_api_spec.rb +2 -13
- data/spec/api/synch_jobs_api_spec.rb +2 -13
- data/spec/api/taxationlinks_api_spec.rb +2 -13
- data/spec/api/taxationstrategies_api_spec.rb +2 -13
- data/spec/api/time_api_spec.rb +2 -13
- data/spec/api/tokenization_api_spec.rb +4 -15
- data/spec/api/unitofmeasure_api_spec.rb +2 -13
- data/spec/api/usage_api_spec.rb +2 -13
- data/spec/api/usageperiods_api_spec.rb +2 -13
- data/spec/api/usageroundingstrategies_api_spec.rb +2 -13
- data/spec/api/usagesessions_api_spec.rb +2 -13
- data/spec/api/usernames_api_spec.rb +2 -13
- data/spec/api/users_api_spec.rb +2 -13
- data/spec/api/vaultedgateways_api_spec.rb +2 -13
- data/spec/api/webhooks_api_spec.rb +2 -13
- data/spec/api_client_spec.rb +1 -12
- data/spec/configuration_spec.rb +1 -12
- data/spec/models/account_ltv_result_paged_metadata_spec.rb +2 -13
- data/spec/models/account_paged_metadata_spec.rb +2 -13
- data/spec/models/account_payments_result_paged_metadata_spec.rb +2 -13
- data/spec/models/account_spec.rb +2 -13
- data/spec/models/add_charge_request_spec.rb +2 -13
- data/spec/models/add_charge_to_account_response_paged_metadata_spec.rb +2 -13
- data/spec/models/add_charge_to_account_response_spec.rb +2 -13
- data/spec/models/add_charges_to_account_api_request_spec.rb +2 -13
- data/spec/models/add_coupon_code_request_spec.rb +2 -13
- data/spec/models/add_payment_method_request_spec.rb +2 -13
- data/spec/models/add_taxation_strategy_request_spec.rb +2 -13
- data/spec/models/address_paged_metadata_spec.rb +2 -13
- data/spec/models/address_spec.rb +2 -13
- data/spec/models/aggregating_component_spec.rb +2 -13
- data/spec/models/amendment_discard_amendment_spec.rb +2 -13
- data/spec/models/amendment_paged_metadata_spec.rb +2 -13
- data/spec/models/amendment_price_n_time_paged_metadata_spec.rb +2 -13
- data/spec/models/amendment_spec.rb +2 -13
- data/spec/models/api_configuration_paged_metadata_spec.rb +2 -13
- data/spec/models/api_quote_paged_metadata_spec.rb +2 -13
- data/spec/models/api_quote_response_quantity_spec.rb +2 -13
- data/spec/models/api_quote_spec.rb +2 -13
- data/spec/models/audit_entry_paged_metadata_spec.rb +2 -13
- data/spec/models/audit_entry_spec.rb +2 -13
- data/spec/models/auth_capture_request_spec.rb +2 -13
- data/spec/models/authorize_net_token_paged_metadata_spec.rb +2 -13
- data/spec/models/bank_account_verification_paged_metadata_spec.rb +2 -13
- data/spec/models/batch_update_pricing_component_values_request_spec.rb +2 -13
- data/spec/models/bf_error_spec.rb +2 -13
- data/spec/models/bf_permission_paged_metadata_spec.rb +2 -13
- data/spec/models/bf_permission_spec.rb +2 -13
- data/spec/models/billforward_managed_payments_result_paged_metadata_spec.rb +2 -13
- data/spec/models/billing_entity_base_spec.rb +2 -13
- data/spec/models/braintree_auth_capture_request_spec.rb +2 -13
- data/spec/models/braintree_capture_request_spec.rb +2 -13
- data/spec/models/braintree_token_paged_metadata_spec.rb +2 -13
- data/spec/models/cancel_subscription_request_spec.rb +2 -13
- data/spec/models/cancellation_amendment_spec.rb +2 -13
- data/spec/models/cass_churn_result_paged_metadata_spec.rb +2 -13
- data/spec/models/cass_payment_result_paged_metadata_spec.rb +2 -13
- data/spec/models/cass_upgrade_result_paged_metadata_spec.rb +2 -13
- data/spec/models/client_paged_metadata_spec.rb +2 -13
- data/spec/models/client_spec.rb +2 -13
- data/spec/models/component_change_spec.rb +2 -13
- data/spec/models/component_cost_spec.rb +2 -13
- data/spec/models/compound_usage_session_spec.rb +2 -13
- data/spec/models/compound_usage_spec.rb +2 -13
- data/spec/models/coupon_book_definition_paged_metadata_spec.rb +2 -13
- data/spec/models/coupon_book_definition_spec.rb +2 -13
- data/spec/models/coupon_book_paged_metadata_spec.rb +2 -13
- data/spec/models/coupon_book_spec.rb +2 -13
- data/spec/models/coupon_definition_paged_metadata_spec.rb +2 -13
- data/spec/models/coupon_definition_spec.rb +2 -13
- data/spec/models/coupon_discount_estimate_spec.rb +2 -13
- data/spec/models/coupon_discount_spec.rb +2 -13
- data/spec/models/coupon_instance_existing_value_spec.rb +2 -13
- data/spec/models/coupon_instance_paged_metadata_spec.rb +2 -13
- data/spec/models/coupon_instance_spec.rb +2 -13
- data/spec/models/coupon_modifier_base_paged_metadata_spec.rb +2 -13
- data/spec/models/coupon_modifier_base_spec.rb +2 -13
- data/spec/models/coupon_paged_metadata_spec.rb +2 -13
- data/spec/models/coupon_rule_paged_metadata_spec.rb +2 -13
- data/spec/models/coupon_rule_spec.rb +2 -13
- data/spec/models/coupon_spec.rb +2 -13
- data/spec/models/coupon_unique_codes_request_spec.rb +2 -13
- data/spec/models/coupon_unique_codes_response_paged_metadata_spec.rb +2 -13
- data/spec/models/coupon_unique_codes_response_spec.rb +2 -13
- data/spec/models/coupon_wrapper_response_spec.rb +2 -13
- data/spec/models/create_account_profile_request_spec.rb +2 -13
- data/spec/models/create_account_request_spec.rb +2 -13
- data/spec/models/create_address_request_spec.rb +2 -13
- data/spec/models/create_aggregating_component_request_spec.rb +2 -13
- data/spec/models/create_aggregating_subscription_request_spec.rb +2 -13
- data/spec/models/create_profile_address_request_spec.rb +2 -13
- data/spec/models/create_subscription_batch_request_spec.rb +2 -13
- data/spec/models/create_subscription_charge_amendment_spec.rb +2 -23
- data/spec/models/create_subscription_request_spec.rb +14 -13
- data/spec/models/credit_account_request_spec.rb +2 -13
- data/spec/models/credit_note_paged_metadata_spec.rb +2 -13
- data/spec/models/credit_note_spec.rb +2 -13
- data/spec/models/credit_subscription_request_spec.rb +2 -13
- data/spec/models/cybersource_token_paged_metadata_spec.rb +2 -13
- data/spec/models/data_synchronisation_app_configuration_paged_metadata_spec.rb +2 -13
- data/spec/models/data_synchronisation_configuration_paged_metadata_spec.rb +2 -13
- data/spec/models/data_synchronisation_configuration_spec.rb +2 -13
- data/spec/models/data_synchronization_job_paged_metadata_spec.rb +2 -13
- data/spec/models/debts_result_paged_metadata_spec.rb +2 -13
- data/spec/models/dunning_line_paged_metadata_spec.rb +2 -13
- data/spec/models/dunning_line_spec.rb +2 -13
- data/spec/models/dynamic_metadata_spec.rb +2 -13
- data/spec/models/email_paged_metadata_spec.rb +2 -13
- data/spec/models/email_provider_paged_metadata_spec.rb +2 -13
- data/spec/models/email_provider_spec.rb +2 -13
- data/spec/models/email_spec.rb +2 -13
- data/spec/models/email_subscription_paged_metadata_spec.rb +2 -13
- data/spec/models/email_subscription_spec.rb +2 -13
- data/spec/models/end_trial_amendment_spec.rb +2 -13
- data/spec/models/event_data_spec.rb +2 -13
- data/spec/models/event_spec.rb +2 -13
- data/spec/models/file_sham_spec.rb +2 -13
- data/spec/models/fixed_term_definition_paged_metadata_spec.rb +2 -13
- data/spec/models/fixed_term_expiry_amendment_spec.rb +2 -13
- data/spec/models/fixed_term_paged_metadata_spec.rb +2 -13
- data/spec/models/fixed_term_spec.rb +2 -13
- data/spec/models/flat_pricing_component_spec.rb +2 -13
- data/spec/models/import_invoice_line_spec.rb +2 -13
- data/spec/models/insertable_billing_entity_spec.rb +2 -13
- data/spec/models/invoice_charge_request_spec.rb +2 -13
- data/spec/models/invoice_line_payment_paged_metadata_spec.rb +2 -13
- data/spec/models/invoice_line_payment_spec.rb +2 -13
- data/spec/models/invoice_line_spec.rb +2 -13
- data/spec/models/invoice_next_execution_attempt_amendment_spec.rb +2 -13
- data/spec/models/invoice_outstanding_charges_amendment_spec.rb +2 -13
- data/spec/models/invoice_paged_metadata_spec.rb +2 -13
- data/spec/models/invoice_payment_spec.rb +2 -13
- data/spec/models/invoice_recalculation_amendment_spec.rb +2 -13
- data/spec/models/invoice_recalculation_request_spec.rb +2 -13
- data/spec/models/invoice_spec.rb +20 -13
- data/spec/models/issue_invoice_amendment_spec.rb +2 -13
- data/spec/models/metadata_key_values_paged_metadata_spec.rb +2 -13
- data/spec/models/migration_request_spec.rb +2 -13
- data/spec/models/model_alias_spec.rb +2 -13
- data/spec/models/mutable_billing_entity_spec.rb +2 -13
- data/spec/models/nested_charge_request_spec.rb +2 -13
- data/spec/models/notification_paged_metadata_spec.rb +2 -13
- data/spec/models/notification_spec.rb +2 -13
- data/spec/models/organization_paged_metadata_spec.rb +2 -13
- data/spec/models/organization_spec.rb +2 -13
- data/spec/models/password_paged_metadata_spec.rb +2 -13
- data/spec/models/password_reset_request_spec.rb +2 -13
- data/spec/models/password_spec.rb +2 -13
- data/spec/models/pause_request_spec.rb +2 -13
- data/spec/models/payment_method_paged_metadata_spec.rb +2 -13
- data/spec/models/payment_method_spec.rb +2 -13
- data/spec/models/payment_method_subscription_link_paged_metadata_spec.rb +2 -13
- data/spec/models/payment_method_subscription_link_spec.rb +2 -13
- data/spec/models/payment_paged_metadata_spec.rb +2 -13
- data/spec/models/payment_retry_request_spec.rb +2 -13
- data/spec/models/payment_spec.rb +2 -13
- data/spec/models/pending_component_value_change_spec.rb +2 -13
- data/spec/models/period_paged_metadata_spec.rb +2 -13
- data/spec/models/period_spec.rb +2 -13
- data/spec/models/permission_action_entity_paged_metadata_spec.rb +2 -13
- data/spec/models/permission_resource_entity_paged_metadata_spec.rb +2 -13
- data/spec/models/price_calculation_paged_metadata_spec.rb +2 -13
- data/spec/models/pricing_component_coupon_modifier_spec.rb +2 -13
- data/spec/models/pricing_component_migration_value_spec.rb +2 -13
- data/spec/models/pricing_component_paged_metadata_spec.rb +2 -13
- data/spec/models/pricing_component_quantity_request_spec.rb +2 -13
- data/spec/models/pricing_component_spec.rb +2 -13
- data/spec/models/pricing_component_tier_paged_metadata_spec.rb +2 -13
- data/spec/models/pricing_component_tier_spec.rb +2 -13
- data/spec/models/pricing_component_value_change_amendment_spec.rb +2 -13
- data/spec/models/pricing_component_value_change_paged_metadata_spec.rb +2 -13
- data/spec/models/pricing_component_value_migration_amendment_mapping_spec.rb +2 -13
- data/spec/models/pricing_component_value_paged_metadata_spec.rb +2 -13
- data/spec/models/pricing_component_value_request_spec.rb +2 -13
- data/spec/models/pricing_component_value_response_paged_metadata_spec.rb +2 -13
- data/spec/models/pricing_component_value_spec.rb +2 -13
- data/spec/models/product_coupon_modifier_spec.rb +2 -13
- data/spec/models/product_paged_metadata_spec.rb +2 -13
- data/spec/models/product_payments_result_paged_metadata_spec.rb +2 -13
- data/spec/models/product_rate_plan_migration_amendment_spec.rb +2 -13
- data/spec/models/product_rate_plan_paged_metadata_spec.rb +2 -13
- data/spec/models/product_rate_plan_payments_result_paged_metadata_spec.rb +2 -13
- data/spec/models/product_rate_plan_spec.rb +2 -13
- data/spec/models/product_spec.rb +2 -13
- data/spec/models/profile_paged_metadata_spec.rb +2 -13
- data/spec/models/profile_spec.rb +2 -13
- data/spec/models/quote_request_spec.rb +2 -13
- data/spec/models/quote_request_value_spec.rb +2 -13
- data/spec/models/recalculate_charge_batch_request_spec.rb +2 -13
- data/spec/models/recalculate_charge_batch_response_paged_metadata_spec.rb +2 -13
- data/spec/models/recalculate_charge_batch_response_spec.rb +2 -13
- data/spec/models/recalculate_charge_request_spec.rb +2 -13
- data/spec/models/receipt_paged_metadata_spec.rb +2 -13
- data/spec/models/receipt_spec.rb +2 -13
- data/spec/models/refund_paged_metadata_spec.rb +2 -13
- data/spec/models/refund_spec.rb +2 -13
- data/spec/models/resume_request_spec.rb +2 -13
- data/spec/models/resume_subscription_amendment_spec.rb +2 -13
- data/spec/models/revenue_attribution_paged_metadata_spec.rb +2 -13
- data/spec/models/revenue_attribution_spec.rb +2 -13
- data/spec/models/revive_subscription_request_spec.rb +2 -13
- data/spec/models/role_paged_metadata_spec.rb +2 -13
- data/spec/models/role_spec.rb +2 -13
- data/spec/models/rule_satisfaction_spec.rb +2 -13
- data/spec/models/search_result_paged_metadata_spec.rb +2 -13
- data/spec/models/service_end_amendment_spec.rb +2 -13
- data/spec/models/single_recalculate_charge_request_spec.rb +2 -13
- data/spec/models/stripe_ach_token_paged_metadata_spec.rb +2 -13
- data/spec/models/stripe_auth_capture_request_spec.rb +2 -13
- data/spec/models/stripe_object_spec.rb +2 -13
- data/spec/models/stripe_token_paged_metadata_spec.rb +2 -13
- data/spec/models/subscription_cancellation_paged_metadata_spec.rb +2 -13
- data/spec/models/subscription_charge_paged_metadata_spec.rb +2 -13
- data/spec/models/subscription_charge_spec.rb +2 -13
- data/spec/models/subscription_ltv_result_paged_metadata_spec.rb +2 -13
- data/spec/models/subscription_paged_metadata_spec.rb +2 -13
- data/spec/models/subscription_spec.rb +8 -13
- data/spec/models/swagger_type_list_inv_spec.rb +2 -13
- data/spec/models/swagger_type_list_spec.rb +2 -13
- data/spec/models/swagger_type_list_subs_spec.rb +2 -13
- data/spec/models/taxation_link_paged_metadata_spec.rb +2 -13
- data/spec/models/taxation_strategy_paged_metadata_spec.rb +2 -13
- data/spec/models/tiered_pricing_component_spec.rb +2 -13
- data/spec/models/tiered_volume_pricing_component_spec.rb +2 -13
- data/spec/models/time_request_spec.rb +2 -13
- data/spec/models/time_response_paged_metadata_spec.rb +2 -13
- data/spec/models/time_response_spec.rb +2 -13
- data/spec/models/time_zone_spec.rb +2 -13
- data/spec/models/timer_amendment_spec.rb +2 -13
- data/spec/models/tokenization_pre_auth_paged_metadata_spec.rb +2 -13
- data/spec/models/trust_commerce_token_paged_metadata_spec.rb +2 -13
- data/spec/models/unit_discount_spec.rb +2 -13
- data/spec/models/unit_of_measure_coupon_modifier_spec.rb +2 -13
- data/spec/models/unit_of_measure_paged_metadata_spec.rb +2 -13
- data/spec/models/unit_of_measure_spec.rb +2 -13
- data/spec/models/update_address_request_spec.rb +2 -13
- data/spec/models/update_component_value_amendment_spec.rb +2 -13
- data/spec/models/update_pricing_component_value_change_result_spec.rb +2 -13
- data/spec/models/update_pricing_component_value_request_spec.rb +2 -13
- data/spec/models/update_pricing_component_value_response_paged_metadata_spec.rb +2 -13
- data/spec/models/update_pricing_component_value_response_spec.rb +2 -13
- data/spec/models/update_profile_request_spec.rb +2 -13
- data/spec/models/update_role_request_spec.rb +2 -13
- data/spec/models/update_subscription_request_spec.rb +2 -13
- data/spec/models/usage_paged_metadata_spec.rb +2 -13
- data/spec/models/usage_period_paged_metadata_spec.rb +2 -13
- data/spec/models/usage_rounding_strategy_paged_metadata_spec.rb +2 -13
- data/spec/models/usage_session_paged_metadata_spec.rb +2 -13
- data/spec/models/usage_session_spec.rb +2 -13
- data/spec/models/usage_spec.rb +2 -13
- data/spec/models/user_creation_request_spec.rb +2 -13
- data/spec/models/user_creation_response_paged_metadata_spec.rb +2 -13
- data/spec/models/user_paged_metadata_spec.rb +2 -13
- data/spec/models/user_spec.rb +2 -13
- data/spec/models/username_paged_metadata_spec.rb +2 -13
- data/spec/models/username_spec.rb +2 -13
- data/spec/models/webhook_paged_metadata_spec.rb +2 -13
- data/spec/spec_helper.rb +1 -12
- metadata +12 -9
- data/bf_ruby2-1.0.0.gem +0 -0
- data/bf_ruby2-1.2016.229.gem +0 -0
- data/bf_ruby2-1.2016.230.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b92373aff54dc63855cfc36a72584ef59d44991e
|
4
|
+
data.tar.gz: c060673ed8c86f660f5127ca78ee2d237a45b409
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c44c10d9ee8d90c6a299fdb492beb1a37cd199e3e4a919b1465d1ad4784812d92c73197bad2dbcc035f4845af8669a47e7ce9b2f204c807e24bcb2a1940e669
|
7
|
+
data.tar.gz: c61fe3c058ef71560b480894ec4681b900676342924b6a19124deec397b37c22663f37e9b3f790387f81e46779690d2694733b1ed1447fc3016fe6cec57ef8db
|
data/.gitignore
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
# Generated by: https://github.com/swagger-api/swagger-codegen.git
|
2
|
+
#
|
3
|
+
|
4
|
+
*.gem
|
5
|
+
*.rbc
|
6
|
+
/.config
|
7
|
+
/coverage/
|
8
|
+
/InstalledFiles
|
9
|
+
/pkg/
|
10
|
+
/spec/reports/
|
11
|
+
/spec/examples.txt
|
12
|
+
/test/tmp/
|
13
|
+
/test/version_tmp/
|
14
|
+
/tmp/
|
15
|
+
|
16
|
+
## Specific to RubyMotion:
|
17
|
+
.dat*
|
18
|
+
.repl_history
|
19
|
+
build/
|
20
|
+
|
21
|
+
## Documentation cache and generated files:
|
22
|
+
/.yardoc/
|
23
|
+
/_yardoc/
|
24
|
+
/doc/
|
25
|
+
/rdoc/
|
26
|
+
|
27
|
+
## Environment normalization:
|
28
|
+
/.bundle/
|
29
|
+
/vendor/bundle
|
30
|
+
/lib/bundler/man/
|
31
|
+
|
32
|
+
# for a library or gem, you might want to ignore these files since the code is
|
33
|
+
# intended to run in multiple environments; otherwise, check them in:
|
34
|
+
# Gemfile.lock
|
35
|
+
# .ruby-version
|
36
|
+
# .ruby-gemset
|
37
|
+
|
38
|
+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
39
|
+
.rvmrc
|
data/.rspec
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# Swagger Codegen Ignore
|
2
|
+
# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen
|
3
|
+
|
4
|
+
# Use this file to prevent files from being overwritten by the generator.
|
5
|
+
# The patterns follow closely to .gitignore or .dockerignore.
|
6
|
+
|
7
|
+
# As an example, the C# client generator defines ApiClient.cs.
|
8
|
+
# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
|
9
|
+
#ApiClient.cs
|
10
|
+
|
11
|
+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
|
12
|
+
#foo/*/qux
|
13
|
+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
|
14
|
+
|
15
|
+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
|
16
|
+
#foo/**/qux
|
17
|
+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
|
18
|
+
|
19
|
+
# You can also negate patterns with an exclamation (!).
|
20
|
+
# For example, you can ignore all files in a docs folder with the file extension .md:
|
21
|
+
#docs/*.md
|
22
|
+
# Then explicitly reverse the ignore rule for a single file:
|
23
|
+
#!docs/README.md
|
@@ -0,0 +1 @@
|
|
1
|
+
2.2.3-SNAPSHOT
|
data/Gemfile
ADDED
data/README.md
CHANGED
@@ -7,9 +7,9 @@ We have also a legacy SDK, [`bf-ruby`](https://github.com/billforward/bf-ruby) (
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
8
|
|
9
9
|
- `swagger.json` dump: ae95e7f7a41b19adcd02533305664cd3cc75c629
|
10
|
-
- `swagger-codegen` version: v2.
|
11
|
-
- Package version:
|
12
|
-
- Build date: `
|
10
|
+
- `swagger-codegen` version: v2.3.0 nightly, [commit `e08e9cfefe9bd40e8446a6290a6347c48c19274f`](https://github.com/swagger-api/swagger-codegen/tree/e08e9cfefe9bd40e8446a6290a6347c48c19274f)
|
11
|
+
- Package version: 3.2017.174
|
12
|
+
- Build date: `2017-06-23T18:28:00.000+01:00`
|
13
13
|
- Build package: class io.swagger.codegen.languages.RubyClientCodegen
|
14
14
|
|
15
15
|
## Installation
|
@@ -20,7 +20,7 @@ Add the [`bf_ruby2` gem](https://rubygems.org/gems/bf_ruby2) to your application
|
|
20
20
|
|
21
21
|
```ruby
|
22
22
|
source 'https://rubygems.org'
|
23
|
-
gem 'bf_ruby2', '~>
|
23
|
+
gem 'bf_ruby2', '~> 3.2017.174'
|
24
24
|
```
|
25
25
|
|
26
26
|
### Install from Git
|
@@ -37,10 +37,15 @@ To build the Ruby code into a gem:
|
|
37
37
|
|
38
38
|
```shell
|
39
39
|
gem build bf_ruby2.gemspec
|
40
|
-
gem install ./bf_ruby2-2.2016.237.gem
|
41
40
|
```
|
42
41
|
|
43
|
-
|
42
|
+
You need to install the built gem to your local gem repository if you want to be able to `require 'bf_ruby2'` in a Ruby script:
|
43
|
+
|
44
|
+
```shell
|
45
|
+
gem install ./bf_ruby2-3.2017.174.gem
|
46
|
+
```
|
47
|
+
|
48
|
+
Developers should instead run `gem install --dev ./bf_ruby2-3.2017.174.gem`, to install development dependencies.
|
44
49
|
|
45
50
|
### Include the Ruby code directly
|
46
51
|
|
@@ -61,11 +66,18 @@ Then [generate an API token](https://app-sandbox.billforward.net/#/setup/persona
|
|
61
66
|
|
62
67
|
Here is an example which demonstrates POSTing a JSON request to our API, and handling the result. The example adds credit to an Account.
|
63
68
|
|
69
|
+
You could use the interactive REPL that comes with Ruby, `irb`.
|
70
|
+
|
71
|
+
Use a pre-amble like this at the start of your script. This saves your connection settings onto the "default" (singleton) ApiClient.
|
72
|
+
|
64
73
|
```ruby
|
65
74
|
# Load the gem
|
66
75
|
require 'bf_ruby2'
|
67
76
|
|
68
|
-
|
77
|
+
# this gives you the `ap` function for pretty-printing
|
78
|
+
require 'awesome_print'
|
79
|
+
|
80
|
+
Bfwd::Configuration.default.host="api-sandbox.billforward.net"
|
69
81
|
Bfwd::Configuration.default.scheme="https"
|
70
82
|
Bfwd::Configuration.default.base_path="v1"
|
71
83
|
Bfwd::Configuration.default.logger.level = Logger::DEBUG
|
@@ -74,45 +86,87 @@ Bfwd::Configuration.default.debugging = false
|
|
74
86
|
# your BillForward private token
|
75
87
|
access_token = "EXAMPLE38-1136-4646-a552-fa2728da66b6"
|
76
88
|
|
77
|
-
client = Bfwd::ApiClient.
|
89
|
+
client = Bfwd::ApiClient.default
|
78
90
|
client.default_headers.merge! 'Authorization' => "Bearer #{access_token}"
|
91
|
+
```
|
92
|
+
|
93
|
+
**Example GET request**
|
94
|
+
|
95
|
+
```ruby
|
96
|
+
begin
|
97
|
+
response = Bfwd::AccountsApi.new.get_all_accounts({'records': 1})
|
98
|
+
ap response.results.first
|
99
|
+
rescue Bfwd::ApiError => e
|
100
|
+
ap e.parsed
|
101
|
+
end
|
102
|
+
|
103
|
+
# Result looks like this:
|
104
|
+
{
|
105
|
+
:created => #<DateTime: 2017-06-23T19:29:01+00:00 ((2457928j,70141s,0n),+0s,2299161j)>,
|
106
|
+
:changedBy => "78FB9BDC-D972-4AE4-8984-255B3151826B",
|
107
|
+
:updated => #<DateTime: 2017-06-23T19:29:01+00:00 ((2457928j,70141s,0n),+0s,2299161j)>,
|
108
|
+
:metadata => {},
|
109
|
+
:id => "ACC-45120DC3-107A-4BC1-8931-732B04C8",
|
110
|
+
:organizationID => "958C9C72-FDB6-4BDB-9C23-4894B4201D6E",
|
111
|
+
:successfulSubscriptions => 0,
|
112
|
+
:deleted => false,
|
113
|
+
:profile => {
|
114
|
+
:created => #<DateTime: 2017-06-23T19:29:01+00:00 ((2457928j,70141s,0n),+0s,2299161j)>,
|
115
|
+
:changedBy => "78FB9BDC-D972-4AE4-8984-255B3151826B",
|
116
|
+
:updated => #<DateTime: 2017-06-23T19:29:01+00:00 ((2457928j,70141s,0n),+0s,2299161j)>,
|
117
|
+
:id => "PRF-BD715B92-23FA-4D5E-A9A2-5B8EA3D0",
|
118
|
+
:accountID => "ACC-45120DC3-107A-4BC1-8931-732B04C8",
|
119
|
+
:organizationID => "958C9C72-FDB6-4BDB-9C23-4894B4201D6E",
|
120
|
+
:email => "bill.me@gent.ly",
|
121
|
+
:firstName => "Handsome",
|
122
|
+
:lastName => "Jack",
|
123
|
+
:companyName => "SuccessCorp",
|
124
|
+
:logoURL => "",
|
125
|
+
:addresses => [],
|
126
|
+
:mobile => "",
|
127
|
+
:vatNumber => "",
|
128
|
+
:additionalInformation => ""
|
129
|
+
},
|
130
|
+
:paymentMethods => []
|
131
|
+
}
|
132
|
+
```
|
79
133
|
|
80
|
-
|
134
|
+
**Example POST request**
|
81
135
|
|
82
|
-
|
136
|
+
```ruby
|
137
|
+
account_id = "ACC-45120DC3-107A-4BC1-8931-732B04C8"
|
83
138
|
|
84
139
|
credit_note = Bfwd::CreditAccountRequest.new ({
|
85
|
-
|
86
|
-
|
87
|
-
|
140
|
+
'currency': 'USD',
|
141
|
+
'value': 1.09
|
142
|
+
})
|
88
143
|
|
89
144
|
begin
|
90
145
|
#Creates a credit-note which may be used by any subscription of this account.
|
91
|
-
|
92
|
-
p result
|
146
|
+
ap Bfwd::AccountsApi.new.add_credit_note_to_account(account_id, credit_note)
|
93
147
|
rescue Bfwd::ApiError => e
|
94
|
-
|
95
|
-
puts "Exception when calling AccountsApi->add_credit_note_to_account: #{e.response_body || e}"
|
148
|
+
ap e.parsed
|
96
149
|
end
|
97
|
-
```
|
98
150
|
|
99
|
-
```ruby
|
100
151
|
# Result looks like this:
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
152
|
+
{
|
153
|
+
:executionTime => 88500,
|
154
|
+
:results => [
|
155
|
+
[0] {
|
156
|
+
:created => #<DateTime: 2017-06-23T19:37:15+00:00 ((2457928j,70635s,0n),+0s,2299161j)>,
|
157
|
+
:changedBy => "78FB9BDC-D972-4AE4-8984-255B3151826B",
|
158
|
+
:updated => #<DateTime: 2017-06-23T19:37:15+00:00 ((2457928j,70635s,0n),+0s,2299161j)>,
|
159
|
+
:id => "CDT-C1FDE61E-5BDA-49FC-86A9-C87EA0D9",
|
160
|
+
:accountID => "ACC-45120DC3-107A-4BC1-8931-732B04C8",
|
161
|
+
:organizationID => "958C9C72-FDB6-4BDB-9C23-4894B4201D6E",
|
162
|
+
:type => "manual",
|
163
|
+
:currency => "USD",
|
164
|
+
:value => 1.09,
|
165
|
+
:remainingValue => 1.09,
|
166
|
+
:createdBy => "78FB9BDC-D972-4AE4-8984-255B3151826B"
|
167
|
+
}
|
168
|
+
]
|
169
|
+
}
|
116
170
|
```
|
117
171
|
|
118
172
|
## Releasing
|
@@ -123,7 +177,7 @@ Minor revision is determined by [days since start of year](http://www.wolframalp
|
|
123
177
|
|
124
178
|
If you publish twice in a day, it becomes day.1, day.2 and so on.
|
125
179
|
|
126
|
-
Please find-and-replace all references to `
|
180
|
+
Please find-and-replace all references to `3.2017.174` in this README, to the latest version.
|
127
181
|
|
128
182
|
Build the gemspec locally:
|
129
183
|
|
@@ -134,7 +188,7 @@ gem build bf_ruby2.gemspec
|
|
134
188
|
Then publish the resulting gem:
|
135
189
|
|
136
190
|
```bash
|
137
|
-
gem push bf_ruby2-
|
191
|
+
gem push bf_ruby2-3.2017.174.gem
|
138
192
|
```
|
139
193
|
|
140
194
|
## Documentation for API Endpoints
|
@@ -619,7 +673,6 @@ Class | Method | HTTP request | Description
|
|
619
673
|
- [Bfwd::AddressPagedMetadata](docs/AddressPagedMetadata.md)
|
620
674
|
- [Bfwd::AggregatingComponent](docs/AggregatingComponent.md)
|
621
675
|
- [Bfwd::Amendment](docs/Amendment.md)
|
622
|
-
- [Bfwd::AmendmentDiscardAmendment](docs/AmendmentDiscardAmendment.md)
|
623
676
|
- [Bfwd::AmendmentPagedMetadata](docs/AmendmentPagedMetadata.md)
|
624
677
|
- [Bfwd::AmendmentPriceNTimePagedMetadata](docs/AmendmentPriceNTimePagedMetadata.md)
|
625
678
|
- [Bfwd::AuditEntry](docs/AuditEntry.md)
|
@@ -633,11 +686,9 @@ Class | Method | HTTP request | Description
|
|
633
686
|
- [Bfwd::BatchUpdatePricingComponentValuesRequest](docs/BatchUpdatePricingComponentValuesRequest.md)
|
634
687
|
- [Bfwd::BillforwardManagedPaymentsResultPagedMetadata](docs/BillforwardManagedPaymentsResultPagedMetadata.md)
|
635
688
|
- [Bfwd::BillingEntityBase](docs/BillingEntityBase.md)
|
636
|
-
- [Bfwd::BraintreeAuthCaptureRequest](docs/BraintreeAuthCaptureRequest.md)
|
637
689
|
- [Bfwd::BraintreeCaptureRequest](docs/BraintreeCaptureRequest.md)
|
638
690
|
- [Bfwd::BraintreeTokenPagedMetadata](docs/BraintreeTokenPagedMetadata.md)
|
639
691
|
- [Bfwd::CancelSubscriptionRequest](docs/CancelSubscriptionRequest.md)
|
640
|
-
- [Bfwd::CancellationAmendment](docs/CancellationAmendment.md)
|
641
692
|
- [Bfwd::CassChurnResultPagedMetadata](docs/CassChurnResultPagedMetadata.md)
|
642
693
|
- [Bfwd::CassPaymentResultPagedMetadata](docs/CassPaymentResultPagedMetadata.md)
|
643
694
|
- [Bfwd::CassUpgradeResultPagedMetadata](docs/CassUpgradeResultPagedMetadata.md)
|
@@ -675,7 +726,6 @@ Class | Method | HTTP request | Description
|
|
675
726
|
- [Bfwd::CreateAggregatingSubscriptionRequest](docs/CreateAggregatingSubscriptionRequest.md)
|
676
727
|
- [Bfwd::CreateProfileAddressRequest](docs/CreateProfileAddressRequest.md)
|
677
728
|
- [Bfwd::CreateSubscriptionBatchRequest](docs/CreateSubscriptionBatchRequest.md)
|
678
|
-
- [Bfwd::CreateSubscriptionChargeAmendment](docs/CreateSubscriptionChargeAmendment.md)
|
679
729
|
- [Bfwd::CreateSubscriptionRequest](docs/CreateSubscriptionRequest.md)
|
680
730
|
- [Bfwd::CreditAccountRequest](docs/CreditAccountRequest.md)
|
681
731
|
- [Bfwd::CreditNote](docs/CreditNote.md)
|
@@ -696,15 +746,12 @@ Class | Method | HTTP request | Description
|
|
696
746
|
- [Bfwd::EmailProviderPagedMetadata](docs/EmailProviderPagedMetadata.md)
|
697
747
|
- [Bfwd::EmailSubscription](docs/EmailSubscription.md)
|
698
748
|
- [Bfwd::EmailSubscriptionPagedMetadata](docs/EmailSubscriptionPagedMetadata.md)
|
699
|
-
- [Bfwd::EndTrialAmendment](docs/EndTrialAmendment.md)
|
700
749
|
- [Bfwd::Event](docs/Event.md)
|
701
750
|
- [Bfwd::EventData](docs/EventData.md)
|
702
751
|
- [Bfwd::FileSham](docs/FileSham.md)
|
703
752
|
- [Bfwd::FixedTerm](docs/FixedTerm.md)
|
704
753
|
- [Bfwd::FixedTermDefinitionPagedMetadata](docs/FixedTermDefinitionPagedMetadata.md)
|
705
|
-
- [Bfwd::FixedTermExpiryAmendment](docs/FixedTermExpiryAmendment.md)
|
706
754
|
- [Bfwd::FixedTermPagedMetadata](docs/FixedTermPagedMetadata.md)
|
707
|
-
- [Bfwd::FlatPricingComponent](docs/FlatPricingComponent.md)
|
708
755
|
- [Bfwd::ImportInvoiceLine](docs/ImportInvoiceLine.md)
|
709
756
|
- [Bfwd::InsertableBillingEntity](docs/InsertableBillingEntity.md)
|
710
757
|
- [Bfwd::Invoice](docs/Invoice.md)
|
@@ -712,13 +759,9 @@ Class | Method | HTTP request | Description
|
|
712
759
|
- [Bfwd::InvoiceLine](docs/InvoiceLine.md)
|
713
760
|
- [Bfwd::InvoiceLinePayment](docs/InvoiceLinePayment.md)
|
714
761
|
- [Bfwd::InvoiceLinePaymentPagedMetadata](docs/InvoiceLinePaymentPagedMetadata.md)
|
715
|
-
- [Bfwd::InvoiceNextExecutionAttemptAmendment](docs/InvoiceNextExecutionAttemptAmendment.md)
|
716
|
-
- [Bfwd::InvoiceOutstandingChargesAmendment](docs/InvoiceOutstandingChargesAmendment.md)
|
717
762
|
- [Bfwd::InvoicePagedMetadata](docs/InvoicePagedMetadata.md)
|
718
763
|
- [Bfwd::InvoicePayment](docs/InvoicePayment.md)
|
719
|
-
- [Bfwd::InvoiceRecalculationAmendment](docs/InvoiceRecalculationAmendment.md)
|
720
764
|
- [Bfwd::InvoiceRecalculationRequest](docs/InvoiceRecalculationRequest.md)
|
721
|
-
- [Bfwd::IssueInvoiceAmendment](docs/IssueInvoiceAmendment.md)
|
722
765
|
- [Bfwd::MetadataKeyValuesPagedMetadata](docs/MetadataKeyValuesPagedMetadata.md)
|
723
766
|
- [Bfwd::MigrationRequest](docs/MigrationRequest.md)
|
724
767
|
- [Bfwd::ModelAlias](docs/ModelAlias.md)
|
@@ -746,25 +789,21 @@ Class | Method | HTTP request | Description
|
|
746
789
|
- [Bfwd::PermissionResourceEntityPagedMetadata](docs/PermissionResourceEntityPagedMetadata.md)
|
747
790
|
- [Bfwd::PriceCalculationPagedMetadata](docs/PriceCalculationPagedMetadata.md)
|
748
791
|
- [Bfwd::PricingComponent](docs/PricingComponent.md)
|
749
|
-
- [Bfwd::PricingComponentCouponModifier](docs/PricingComponentCouponModifier.md)
|
750
792
|
- [Bfwd::PricingComponentMigrationValue](docs/PricingComponentMigrationValue.md)
|
751
793
|
- [Bfwd::PricingComponentPagedMetadata](docs/PricingComponentPagedMetadata.md)
|
752
794
|
- [Bfwd::PricingComponentQuantityRequest](docs/PricingComponentQuantityRequest.md)
|
753
795
|
- [Bfwd::PricingComponentTier](docs/PricingComponentTier.md)
|
754
796
|
- [Bfwd::PricingComponentTierPagedMetadata](docs/PricingComponentTierPagedMetadata.md)
|
755
797
|
- [Bfwd::PricingComponentValue](docs/PricingComponentValue.md)
|
756
|
-
- [Bfwd::PricingComponentValueChangeAmendment](docs/PricingComponentValueChangeAmendment.md)
|
757
798
|
- [Bfwd::PricingComponentValueChangePagedMetadata](docs/PricingComponentValueChangePagedMetadata.md)
|
758
799
|
- [Bfwd::PricingComponentValueMigrationAmendmentMapping](docs/PricingComponentValueMigrationAmendmentMapping.md)
|
759
800
|
- [Bfwd::PricingComponentValuePagedMetadata](docs/PricingComponentValuePagedMetadata.md)
|
760
801
|
- [Bfwd::PricingComponentValueRequest](docs/PricingComponentValueRequest.md)
|
761
802
|
- [Bfwd::PricingComponentValueResponsePagedMetadata](docs/PricingComponentValueResponsePagedMetadata.md)
|
762
803
|
- [Bfwd::Product](docs/Product.md)
|
763
|
-
- [Bfwd::ProductCouponModifier](docs/ProductCouponModifier.md)
|
764
804
|
- [Bfwd::ProductPagedMetadata](docs/ProductPagedMetadata.md)
|
765
805
|
- [Bfwd::ProductPaymentsResultPagedMetadata](docs/ProductPaymentsResultPagedMetadata.md)
|
766
806
|
- [Bfwd::ProductRatePlan](docs/ProductRatePlan.md)
|
767
|
-
- [Bfwd::ProductRatePlanMigrationAmendment](docs/ProductRatePlanMigrationAmendment.md)
|
768
807
|
- [Bfwd::ProductRatePlanPagedMetadata](docs/ProductRatePlanPagedMetadata.md)
|
769
808
|
- [Bfwd::ProductRatePlanPaymentsResultPagedMetadata](docs/ProductRatePlanPaymentsResultPagedMetadata.md)
|
770
809
|
- [Bfwd::Profile](docs/Profile.md)
|
@@ -780,7 +819,6 @@ Class | Method | HTTP request | Description
|
|
780
819
|
- [Bfwd::Refund](docs/Refund.md)
|
781
820
|
- [Bfwd::RefundPagedMetadata](docs/RefundPagedMetadata.md)
|
782
821
|
- [Bfwd::ResumeRequest](docs/ResumeRequest.md)
|
783
|
-
- [Bfwd::ResumeSubscriptionAmendment](docs/ResumeSubscriptionAmendment.md)
|
784
822
|
- [Bfwd::RevenueAttribution](docs/RevenueAttribution.md)
|
785
823
|
- [Bfwd::RevenueAttributionPagedMetadata](docs/RevenueAttributionPagedMetadata.md)
|
786
824
|
- [Bfwd::ReviveSubscriptionRequest](docs/ReviveSubscriptionRequest.md)
|
@@ -788,10 +826,8 @@ Class | Method | HTTP request | Description
|
|
788
826
|
- [Bfwd::RolePagedMetadata](docs/RolePagedMetadata.md)
|
789
827
|
- [Bfwd::RuleSatisfaction](docs/RuleSatisfaction.md)
|
790
828
|
- [Bfwd::SearchResultPagedMetadata](docs/SearchResultPagedMetadata.md)
|
791
|
-
- [Bfwd::ServiceEndAmendment](docs/ServiceEndAmendment.md)
|
792
829
|
- [Bfwd::SingleRecalculateChargeRequest](docs/SingleRecalculateChargeRequest.md)
|
793
830
|
- [Bfwd::StripeACHTokenPagedMetadata](docs/StripeACHTokenPagedMetadata.md)
|
794
|
-
- [Bfwd::StripeAuthCaptureRequest](docs/StripeAuthCaptureRequest.md)
|
795
831
|
- [Bfwd::StripeObject](docs/StripeObject.md)
|
796
832
|
- [Bfwd::StripeTokenPagedMetadata](docs/StripeTokenPagedMetadata.md)
|
797
833
|
- [Bfwd::Subscription](docs/Subscription.md)
|
@@ -805,8 +841,6 @@ Class | Method | HTTP request | Description
|
|
805
841
|
- [Bfwd::SwaggerTypeListSubs](docs/SwaggerTypeListSubs.md)
|
806
842
|
- [Bfwd::TaxationLinkPagedMetadata](docs/TaxationLinkPagedMetadata.md)
|
807
843
|
- [Bfwd::TaxationStrategyPagedMetadata](docs/TaxationStrategyPagedMetadata.md)
|
808
|
-
- [Bfwd::TieredPricingComponent](docs/TieredPricingComponent.md)
|
809
|
-
- [Bfwd::TieredVolumePricingComponent](docs/TieredVolumePricingComponent.md)
|
810
844
|
- [Bfwd::TimeRequest](docs/TimeRequest.md)
|
811
845
|
- [Bfwd::TimeResponse](docs/TimeResponse.md)
|
812
846
|
- [Bfwd::TimeResponsePagedMetadata](docs/TimeResponsePagedMetadata.md)
|
@@ -816,10 +850,8 @@ Class | Method | HTTP request | Description
|
|
816
850
|
- [Bfwd::TrustCommerceTokenPagedMetadata](docs/TrustCommerceTokenPagedMetadata.md)
|
817
851
|
- [Bfwd::UnitDiscount](docs/UnitDiscount.md)
|
818
852
|
- [Bfwd::UnitOfMeasure](docs/UnitOfMeasure.md)
|
819
|
-
- [Bfwd::UnitOfMeasureCouponModifier](docs/UnitOfMeasureCouponModifier.md)
|
820
853
|
- [Bfwd::UnitOfMeasurePagedMetadata](docs/UnitOfMeasurePagedMetadata.md)
|
821
854
|
- [Bfwd::UpdateAddressRequest](docs/UpdateAddressRequest.md)
|
822
|
-
- [Bfwd::UpdateComponentValueAmendment](docs/UpdateComponentValueAmendment.md)
|
823
855
|
- [Bfwd::UpdatePricingComponentValueChangeResult](docs/UpdatePricingComponentValueChangeResult.md)
|
824
856
|
- [Bfwd::UpdatePricingComponentValueRequest](docs/UpdatePricingComponentValueRequest.md)
|
825
857
|
- [Bfwd::UpdatePricingComponentValueResponse](docs/UpdatePricingComponentValueResponse.md)
|
@@ -840,6 +872,28 @@ Class | Method | HTTP request | Description
|
|
840
872
|
- [Bfwd::Username](docs/Username.md)
|
841
873
|
- [Bfwd::UsernamePagedMetadata](docs/UsernamePagedMetadata.md)
|
842
874
|
- [Bfwd::WebhookPagedMetadata](docs/WebhookPagedMetadata.md)
|
875
|
+
- [Bfwd::AmendmentDiscardAmendment](docs/AmendmentDiscardAmendment.md)
|
876
|
+
- [Bfwd::BraintreeAuthCaptureRequest](docs/BraintreeAuthCaptureRequest.md)
|
877
|
+
- [Bfwd::CancellationAmendment](docs/CancellationAmendment.md)
|
878
|
+
- [Bfwd::CreateSubscriptionChargeAmendment](docs/CreateSubscriptionChargeAmendment.md)
|
879
|
+
- [Bfwd::EndTrialAmendment](docs/EndTrialAmendment.md)
|
880
|
+
- [Bfwd::FixedTermExpiryAmendment](docs/FixedTermExpiryAmendment.md)
|
881
|
+
- [Bfwd::FlatPricingComponent](docs/FlatPricingComponent.md)
|
882
|
+
- [Bfwd::InvoiceNextExecutionAttemptAmendment](docs/InvoiceNextExecutionAttemptAmendment.md)
|
883
|
+
- [Bfwd::InvoiceOutstandingChargesAmendment](docs/InvoiceOutstandingChargesAmendment.md)
|
884
|
+
- [Bfwd::InvoiceRecalculationAmendment](docs/InvoiceRecalculationAmendment.md)
|
885
|
+
- [Bfwd::IssueInvoiceAmendment](docs/IssueInvoiceAmendment.md)
|
886
|
+
- [Bfwd::PricingComponentCouponModifier](docs/PricingComponentCouponModifier.md)
|
887
|
+
- [Bfwd::PricingComponentValueChangeAmendment](docs/PricingComponentValueChangeAmendment.md)
|
888
|
+
- [Bfwd::ProductCouponModifier](docs/ProductCouponModifier.md)
|
889
|
+
- [Bfwd::ProductRatePlanMigrationAmendment](docs/ProductRatePlanMigrationAmendment.md)
|
890
|
+
- [Bfwd::ResumeSubscriptionAmendment](docs/ResumeSubscriptionAmendment.md)
|
891
|
+
- [Bfwd::ServiceEndAmendment](docs/ServiceEndAmendment.md)
|
892
|
+
- [Bfwd::StripeAuthCaptureRequest](docs/StripeAuthCaptureRequest.md)
|
893
|
+
- [Bfwd::TieredPricingComponent](docs/TieredPricingComponent.md)
|
894
|
+
- [Bfwd::TieredVolumePricingComponent](docs/TieredVolumePricingComponent.md)
|
895
|
+
- [Bfwd::UnitOfMeasureCouponModifier](docs/UnitOfMeasureCouponModifier.md)
|
896
|
+
- [Bfwd::UpdateComponentValueAmendment](docs/UpdateComponentValueAmendment.md)
|
843
897
|
|
844
898
|
|
845
899
|
## Documentation for Authorization
|
data/Rakefile
ADDED
data/bf_ruby2.gemspec
CHANGED
@@ -8,18 +8,7 @@
|
|
8
8
|
OpenAPI spec version: 1.0.0
|
9
9
|
|
10
10
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
11
|
-
|
12
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
13
|
-
you may not use this file except in compliance with the License.
|
14
|
-
You may obtain a copy of the License at
|
15
|
-
|
16
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
17
|
-
|
18
|
-
Unless required by applicable law or agreed to in writing, software
|
19
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
20
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
21
|
-
See the License for the specific language governing permissions and
|
22
|
-
limitations under the License.
|
11
|
+
Swagger Codegen version: 2.2.3-SNAPSHOT
|
23
12
|
|
24
13
|
=end
|
25
14
|
|
@@ -36,6 +25,7 @@ Gem::Specification.new do |s|
|
|
36
25
|
s.summary = "BillForward Ruby SDK (v2)"
|
37
26
|
s.description = "A (machine-generated) Ruby SDK for interacting with the BillForward API."
|
38
27
|
s.license = "MIT"
|
28
|
+
s.required_ruby_version = ">= 1.9"
|
39
29
|
|
40
30
|
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
41
31
|
s.add_runtime_dependency 'json', '~> 1.8', '>= 1.8.3'
|
@@ -46,10 +36,10 @@ Gem::Specification.new do |s|
|
|
46
36
|
s.add_development_dependency 'autotest', '~> 4.4', '>= 4.4.6'
|
47
37
|
s.add_development_dependency 'autotest-rails-pure', '~> 4.1', '>= 4.1.2'
|
48
38
|
s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
|
49
|
-
s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.
|
39
|
+
s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.12'
|
50
40
|
|
51
|
-
s.files = `
|
52
|
-
s.
|
53
|
-
s.
|
41
|
+
s.files = `git ls-files -z`.split("\x0")
|
42
|
+
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
43
|
+
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
54
44
|
s.require_paths = ["lib"]
|
55
45
|
end
|