1.0.0-alpha.1 • Published 5 years ago

@ovh-ux/ng-payment-method v1.0.0-alpha.1

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
5 years ago

Ovh Angular Payment Method

Help you to get payment methods from different OVH APIs

Downloads Dependencies Dev Dependencies Gitter

Install

yarn add @ovh-ux/ng-payment-method

Usage

import ovhAngularPaymentMethod from '@ovh-ux/ng-payment-method';

// add the ovhAngularPaymentMethod module as dependency of your angular project
angular
  .module('myApp', [
    ovhAngularPaymentMethod,
  ])
  .config((ovhPaymentMethodProvider, constants) => {
    // set the target - this will tell to the component which APIs the component needs to call
    ovhPaymentMethodProvider.setTarget(constants.target);
  });

Test

yarn test

Contributing

Always feel free to help out! Whether it's filing bugs and feature requests or working on some of the open issues, our contributing guide will help get you started.

License

BSD-3-Clause © OVH SAS