@trusted-solutions/sdit.models 0.37.0 → 0.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import { Address, DayOfWeekTimePeriod, GalleryConfig, Operator } from '../models/store';
2
2
  import { MultiLanguageText, OrderDiscount } from '../models';
3
- import { ServeType } from '../enums';
3
+ import { PaymentServiceProvider, ServeType } from '../enums';
4
4
  import { SOPublicMenu, SOPublicCategory, SOPublicProduct, SOPublicProductAttribute, SOPublicProductAttributeCategory, SOPaymentMethod, SOValidateCart, SOOrderState, SOOrder, SOEater } from '../models/online-ordering';
5
5
  import { RoundingMode } from '../enums/rounding-mode.enum';
6
6
  /**
@@ -250,6 +250,8 @@ export interface SOGetPaymentUrlRequest {
250
250
  storeId: string;
251
251
  /** online Order Id */
252
252
  id: string;
253
+ /** 預設 MyPayPayPage */
254
+ provider?: PaymentServiceProvider;
253
255
  /**
254
256
  * 以MyPay為例
255
257
  * 可在產生付款網址時,決定returnUrl
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trusted-solutions/sdit.models",
3
- "version": "0.37.0",
3
+ "version": "0.38.0",
4
4
  "description": "TODO: Give a short introduction of your project. Let this section explain the objectives or the motivation behind this project.",
5
5
  "main": "index.js",
6
6
  "scripts": {