@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/entity-product-services
EntityProductFeeService
Class EntityProductFeeService
Entity-aware product fee service
Index
Constructors
constructor
Methods
get
Constructors
constructor
new
EntityProductFeeService
(
__namedParameters
:
{
entityService
:
EntityService
;
productFeeConfigService
:
ProductFeeConfigService
;
}
,
)
:
EntityProductFeeService
Parameters
__namedParameters
:
{
entityService
:
EntityService
;
productFeeConfigService
:
ProductFeeConfigService
;
}
Returns
EntityProductFeeService
Methods
get
get
(
__namedParameters
:
DistributedOmit
<
({ customerId: string; } & ProductFeeMatcherCriteria)
,
"entityType"
|
"sourceAmount"
|
"targetAmount"
|
"countryCode"
,
>
&
{
entityId
:
string
;
sourceAmount
?:
BigNumber
;
targetAmount
?:
BigNumber
;
}
,
)
:
Promise
<
|
{
ok
:
true
;
value
:
ResolvedFeeConfig
}
|
{
error
:
ServiceError
;
ok
:
false
}
,
>
Parameters
__namedParameters
:
DistributedOmit
<
({ customerId: string; } & ProductFeeMatcherCriteria)
,
"entityType"
|
"sourceAmount"
|
"targetAmount"
|
"countryCode"
,
>
&
{
entityId
:
string
;
sourceAmount
?:
BigNumber
;
targetAmount
?:
BigNumber
}
Returns
Promise
<
|
{
ok
:
true
;
value
:
ResolvedFeeConfig
}
|
{
error
:
ServiceError
;
ok
:
false
}
,
>
product fees for the given entity and provided criteria
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
@cfxlabsinc/b2b-services
Loading...
Entity-aware product fee service