@ovh-ux/ng-payment-method
v1.0.0-alpha.1
Published
OVH Payment Methods wrapper for angular
Downloads
12
Readme
Ovh Angular Payment Method
Help you to get payment methods from different OVH APIs
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