You've already forked pages
forked from didirus/AstralRinth
Include Tremendous image_logo_url (#4349)
This commit is contained in:
committed by
GitHub
parent
fda06cfc60
commit
ea607c1a04
@@ -121,6 +121,7 @@ pub struct PayoutMethod {
|
||||
pub name: String,
|
||||
pub supported_countries: Vec<String>,
|
||||
pub image_url: Option<String>,
|
||||
pub image_logo_url: Option<String>,
|
||||
pub interval: PayoutInterval,
|
||||
pub fee: PayoutMethodFee,
|
||||
}
|
||||
|
||||
@@ -408,6 +408,11 @@ impl PayoutsQueue {
|
||||
.into_iter()
|
||||
.map(|x| x.abbr)
|
||||
.collect(),
|
||||
image_logo_url: product
|
||||
.images
|
||||
.iter()
|
||||
.find(|x| x.type_ == ProductImageType::Logo)
|
||||
.map(|x| x.src.clone()),
|
||||
image_url: product
|
||||
.images
|
||||
.into_iter()
|
||||
@@ -486,6 +491,7 @@ impl PayoutsQueue {
|
||||
name: "PayPal".to_string(),
|
||||
supported_countries: vec!["US".to_string()],
|
||||
image_url: None,
|
||||
image_logo_url: None,
|
||||
interval: PayoutInterval::Standard {
|
||||
min: Decimal::from(1) / Decimal::from(4),
|
||||
max: Decimal::from(100_000),
|
||||
@@ -518,6 +524,7 @@ impl PayoutsQueue {
|
||||
.map(|x| x.alpha2.to_string())
|
||||
.collect(),
|
||||
image_url: None,
|
||||
image_logo_url: None,
|
||||
interval: PayoutInterval::Standard {
|
||||
min: Decimal::from(1) / Decimal::from(4),
|
||||
max: Decimal::from(100_000),
|
||||
|
||||
Reference in New Issue
Block a user