Skip to content

Commit

Permalink
chore: license header
Browse files Browse the repository at this point in the history
  • Loading branch information
pr-Mais committed Jul 1, 2022
1 parent 9187e2e commit 800087f
Show file tree
Hide file tree
Showing 18 changed files with 72 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ This plugin is a wrapper around [HyperPay iOS and Android SDK](https://wordpress
[![pub package](https://img.shields.io/pub/v/hyperpay.svg)](https://pub.dev/packages/hyperpay)

## Support Checklist
✔️ Brands: **VISA**, **MasterCard**, **MADA**
<br />✔️ Get a checkout ID
<br />✔️ Get payment status
<br />✔️ Perform sync/async payment
✔️ Credit Card payment **VISA**, **MasterCard**
<br />✔️ Local Saudi payment with **MADA**
<br />✔️ Apple Pay
<br />✔️ Check payment status
<br />✔️ Custom UI
<br />✖️ Ready UI

Expand Down
4 changes: 4 additions & 0 deletions lib/hyperpay.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2022 NyarTech LLC. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file.

library hyperpay;

import 'dart:async';
Expand Down
4 changes: 4 additions & 0 deletions lib/src/apple_pay_button.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2022 NyarTech LLC. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file.

part of hyperpay;

/// A button widget that follows the Apple Pay button styles and design
Expand Down
4 changes: 4 additions & 0 deletions lib/src/config.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2022 NyarTech LLC. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file.

part of hyperpay;

/// Payments can happen either on **Test** or **Live** mode,
Expand Down
4 changes: 4 additions & 0 deletions lib/src/enums/app_pay_button_type.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2022 NyarTech LLC. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file.

part of hyperpay;

/// The types of button supported on Apple Pay.
Expand Down
4 changes: 4 additions & 0 deletions lib/src/enums/apple_pay_button_style.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2022 NyarTech LLC. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file.

part of hyperpay;

/// The button styles supported on Apple Pay.
Expand Down
4 changes: 4 additions & 0 deletions lib/src/enums/brand_type.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2022 NyarTech LLC. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file.

part of hyperpay;

/// Currently supported brands by this plugin.
Expand Down
4 changes: 4 additions & 0 deletions lib/src/enums/payment_mode.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2022 NyarTech LLC. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file.

part of hyperpay;

/// The environment mode for HyperPay, will be global
Expand Down
4 changes: 4 additions & 0 deletions lib/src/enums/payment_status.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2022 NyarTech LLC. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file.

part of hyperpay;

/// Any transaction would have 4 possible group states.
Expand Down
4 changes: 4 additions & 0 deletions lib/src/exception.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2022 NyarTech LLC. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file.

part of hyperpay;

/// Exception to wrap HyperPay API errors.
Expand Down
4 changes: 4 additions & 0 deletions lib/src/extensions/apple_pay_button_ext.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2022 NyarTech LLC. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file.

part of hyperpay;

/// A set of utility methods associated to the [ApplePayButtonType] enum.
Expand Down
4 changes: 4 additions & 0 deletions lib/src/extensions/brands_ext.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2022 NyarTech LLC. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file.

part of hyperpay;

// Regular experessions for each brand
Expand Down
4 changes: 4 additions & 0 deletions lib/src/extensions/payment_mode_ext.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2022 NyarTech LLC. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file.

part of hyperpay;

/// A handy util to turn mode enums into their corresponding
Expand Down
4 changes: 4 additions & 0 deletions lib/src/extensions/payment_status_ext.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2022 NyarTech LLC. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file.

part of hyperpay;

/// Uses Regular Expressions to define the group
Expand Down
4 changes: 4 additions & 0 deletions lib/src/hyperpay.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2022 NyarTech LLC. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file.

part of hyperpay;

/// The interface for Hyperpay SDK.
Expand Down
4 changes: 4 additions & 0 deletions lib/src/models/apple_pay_settings.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2022 NyarTech LLC. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file.

part of hyperpay;

/// Required fields for performing a transaction with Apply Pay.
Expand Down
4 changes: 4 additions & 0 deletions lib/src/models/card_info.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2022 NyarTech LLC. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file.

part of hyperpay;

class CardInfo {
Expand Down
4 changes: 4 additions & 0 deletions lib/src/models/checkout_settings.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2022 NyarTech LLC. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file.

part of hyperpay;

/// This class wraps the required params to get a `checkoutID`
Expand Down

0 comments on commit 800087f

Please sign in to comment.