You've already forked AstralRinth
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 name: String,
|
||||||
pub supported_countries: Vec<String>,
|
pub supported_countries: Vec<String>,
|
||||||
pub image_url: Option<String>,
|
pub image_url: Option<String>,
|
||||||
|
pub image_logo_url: Option<String>,
|
||||||
pub interval: PayoutInterval,
|
pub interval: PayoutInterval,
|
||||||
pub fee: PayoutMethodFee,
|
pub fee: PayoutMethodFee,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -408,6 +408,11 @@ impl PayoutsQueue {
|
|||||||
.into_iter()
|
.into_iter()
|
||||||
.map(|x| x.abbr)
|
.map(|x| x.abbr)
|
||||||
.collect(),
|
.collect(),
|
||||||
|
image_logo_url: product
|
||||||
|
.images
|
||||||
|
.iter()
|
||||||
|
.find(|x| x.type_ == ProductImageType::Logo)
|
||||||
|
.map(|x| x.src.clone()),
|
||||||
image_url: product
|
image_url: product
|
||||||
.images
|
.images
|
||||||
.into_iter()
|
.into_iter()
|
||||||
@@ -486,6 +491,7 @@ impl PayoutsQueue {
|
|||||||
name: "PayPal".to_string(),
|
name: "PayPal".to_string(),
|
||||||
supported_countries: vec!["US".to_string()],
|
supported_countries: vec!["US".to_string()],
|
||||||
image_url: None,
|
image_url: None,
|
||||||
|
image_logo_url: None,
|
||||||
interval: PayoutInterval::Standard {
|
interval: PayoutInterval::Standard {
|
||||||
min: Decimal::from(1) / Decimal::from(4),
|
min: Decimal::from(1) / Decimal::from(4),
|
||||||
max: Decimal::from(100_000),
|
max: Decimal::from(100_000),
|
||||||
@@ -518,6 +524,7 @@ impl PayoutsQueue {
|
|||||||
.map(|x| x.alpha2.to_string())
|
.map(|x| x.alpha2.to_string())
|
||||||
.collect(),
|
.collect(),
|
||||||
image_url: None,
|
image_url: None,
|
||||||
|
image_logo_url: None,
|
||||||
interval: PayoutInterval::Standard {
|
interval: PayoutInterval::Standard {
|
||||||
min: Decimal::from(1) / Decimal::from(4),
|
min: Decimal::from(1) / Decimal::from(4),
|
||||||
max: Decimal::from(100_000),
|
max: Decimal::from(100_000),
|
||||||
|
|||||||
Reference in New Issue
Block a user